<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">
This may be related to the bundle problem that I reported earlier?<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">In the Ruby on Rails bundle is a command in the Support/bin directory called <br>
</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">go_to_alternate_file.rb.  This is the starting point for the script where I am getting the to_plist error.<br><br></div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">The first line of the this file is<br><br>#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby<br><br></div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">so I would assume that it is being executed by ruby 1.8.<br><br>But if I modify the file and add the following line after the 'require' statemets:<br>
</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">  puts "${RUBY_VERSION}"<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">
When the script is run, it prints 2.0.0  So it seems that the shebang line is not being honored.<br><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">Am I missing something?<br>
<br><br></div></div>