Saving a new material in Ruby

Hi.

Ruby doesn’t seem to save new material… wondering if its some kind of permissions issue or am i doing it backwards… because there are plenty of customised materials in the database made by people…

Could someone give me a direction?

Thank you.

@lasertechs