[TxMt] "no such file to load" error on require in Ruby Run command

David Carter david at carter.net
Wed Feb 11 14:31:09 UTC 2009


I'm getting this message only the first time I cmd-R a ruby script.

*LoadError:* no such file to load — builder

method gem_original_require<txmt://open?line=27&url=file:///System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb>
in *custom_require.rb* at line 27method
require<txmt://open?line=27&url=file:///System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb>
in *custom_require.rb* at line 27*at top
level*<txmt://open?line=56&url=file:///Users/david/scripts/getAndaleSales.rb>
in *getAndaleSales.rb* at line 56


If I cmd-R a second time, the script runs normally. If I restart TM, I get
the same failure again on first run, works on second run.

I followed the troubleshooting instructions & removed a local copy of the
Ruby bundle that I had downloaded previously via svn.

Thanks for any suggestions.


---
David Carter
david at carter.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20090211/203974f5/attachment.html>


More information about the textmate mailing list