in SU ruby online help, it says ruby scripts can be installed a number of ways
http://download.sketchup.com/OnlineDoc/gsu6_ruby/Docs/examples.html
I am trying to setup mine as per the
"Automatically Loading a Ruby Script Using the "require_all" Function"
I am on mac OS 10.5.5
I've made a myRubyScripts.rb file with
home = File.expand_path "~"
myrubyscripts = File.join home, "MyRubyScripts"
require_all( myrubyscriptsdirectory )
which I then placed in the SU plugins folder
and a folder myrubyscriptsdirectory, which I then placed in in my user account and added a test plugin ; ContourMaker.rb
when I start up SU I get this error message
Error Loading File myrubyscripts.rb
/Library/Application Support/Google SketchUp 6/SketchUp/Plugins/myrubyscripts.rb:1: parse error, unexpected $undefined., expecting '}'
{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf420
^
what have I done wrong.
thanks