[rspec-devel] [ rspec-Bugs-7754 ] Command-R fails to run spec in TextMate

noreply at rubyforge.org noreply at rubyforge.org
Thu Jan 11 10:19:08 EST 2007


Bugs item #7754, was opened at 2007-01-11 07:19
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=7754&group_id=797

Category: RSpec.tmbundle
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Brian Yamabe (byamabe)
Assigned to: Aslak Hellesøy (aslak_hellesoy)
Summary: Command-R fails to run spec in TextMate

Initial Comment:
When trying to run a spec from TextMate using command-r, I get:
/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec_mate.rb:1:in `require': No such file to load -- rubygems (LoadError) from /Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec_mate.rb:1 from /tmp/temp_textmate.EMYXc6:3:in `require' from /tmp/temp_textmate.EMYXc6:3

TM_RUBY is set properly (/opt/local/bin/ruby)

Tried the following at Aslak suggestion and it ran without errors.

1) Create a file called foo.rb
2) Add one line to it: require 'rubygems'
3) Open it in TextMate
4) Run it from TextMate (Cmd-R - Run)

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=7754&group_id=797


More information about the rspec-devel mailing list