@dave r said:
Looks to me as if you haven't ticked the box for "Ruby Script Examples" in Window>Preferences>Extensions.
it is ticked but the error message is the same!
"Error Loading File attributes.rb
undefined method `GetString' for nil:NilClass"