On 28 Oct 2008, at 12:48, Stephen Malone wrote:

> I am coding an IRC bot in Ruby, and the require statement does not
> work within Textmate. Using "ruby bot.rb" in the Terminal, the program
> operates fine, but in Textmate's own RubyMate environment (which is
> initialized with Cmd+R), any require statement that loads a file
> outside of Ruby's standard library (i.e.: a file you've made yourself)
> will return the LoadError error message.

Try in Terminal to run: ruby -e 'p $:'

Then try run the same line from the file that requires bot.rb (before  
the require, so it actually gets to run).

_______________________________________________
textmate-dev mailing list
[email protected]
http://lists.macromates.com/listinfo/textmate-dev

Reply via email to