Hello, I''ve just installed the rspec textmate bundle from svn, and I''m getting the following error when I try to run a single example: /Users/oliver/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:2:in `require'': No such file to load -- rubygems (LoadError) from /Users/oliver/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:2 from /tmp/temp_textmate.xVeAZb:3:in `require'' from /tmp/temp_textmate.xVeAZb:3 I''m using a custom locomotive bundle with the rails 2.0.2 and rspec 1.1.3 gems installed, together with the respective rspec_on_rails plugin. I''ve been searching for a solution for a couple of hours, and i''ve tried setting both TM_RUBY and TM_RSPEC_HOME as suggested in other posts, but that didn''t solve it. At one point the error changed, complaining about a missing rails 2.0.2 gem though it''s installed and declared in the environment config, but I can''t remember now what prompted it. appreciate any pointers with this, please bear with me as I''m new to the list and still learning my way around testing and rspec... ;) - Oliver
..2 seconds after posting I found this thread from the peepcode users group http://groups.google.com/group/peepcode/browse_thread/thread/089989c61181d39c and so I set the same variables in my .bashrc, and created a new project, which got the bundle to work when opening the project from the command line. it still doesn''t work from locomotive though. 2008/2/25, Oliver Barnes <oli.azevedo.barnes at gmail.com>:> Hello, > > I''ve just installed the rspec textmate bundle from svn, and I''m > getting the following error when I try to run a single example: > > /Users/oliver/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:2:in > `require'': No such file to load -- rubygems (LoadError) from > /Users/oliver/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:2 > from /tmp/temp_textmate.xVeAZb:3:in `require'' from > /tmp/temp_textmate.xVeAZb:3 > > I''m using a custom locomotive bundle with the rails 2.0.2 and rspec > 1.1.3 gems installed, together with the respective rspec_on_rails > plugin. I''ve been searching for a solution for a couple of hours, and > i''ve tried setting both TM_RUBY and TM_RSPEC_HOME as suggested in > other posts, but that didn''t solve it. At one point the error changed, > complaining about a missing rails 2.0.2 gem though it''s installed and > declared in the environment config, but I can''t remember now what > prompted it. > > appreciate any pointers with this, please bear with me as I''m new to > the list and still learning my way around testing and rspec... ;) > > > - Oliver >
There is also this: http://rspec.info/documentation/tools/extensions/editors/textmate.html Aslak On Tue, Feb 26, 2008 at 12:41 AM, Oliver Barnes <oli.azevedo.barnes at gmail.com> wrote:> ..2 seconds after posting I found this thread from the peepcode users group > > http://groups.google.com/group/peepcode/browse_thread/thread/089989c61181d39c > > and so I set the same variables in my .bashrc, and created a new > project, which got the bundle to work when opening the project from > the command line. it still doesn''t work from locomotive though. > > 2008/2/25, Oliver Barnes <oli.azevedo.barnes at gmail.com>: > > > > Hello, > > > > I''ve just installed the rspec textmate bundle from svn, and I''m > > getting the following error when I try to run a single example: > > > > /Users/oliver/Library/Application > > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:2:in > > `require'': No such file to load -- rubygems (LoadError) from > > /Users/oliver/Library/Application > > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:2 > > from /tmp/temp_textmate.xVeAZb:3:in `require'' from > > /tmp/temp_textmate.xVeAZb:3 > > > > I''m using a custom locomotive bundle with the rails 2.0.2 and rspec > > 1.1.3 gems installed, together with the respective rspec_on_rails > > plugin. I''ve been searching for a solution for a couple of hours, and > > i''ve tried setting both TM_RUBY and TM_RSPEC_HOME as suggested in > > other posts, but that didn''t solve it. At one point the error changed, > > complaining about a missing rails 2.0.2 gem though it''s installed and > > declared in the environment config, but I can''t remember now what > > prompted it. > > > > appreciate any pointers with this, please bear with me as I''m new to > > the list and still learning my way around testing and rspec... ;) > > > > > > - Oliver > > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >