Solved; I just remembered that after installing Textmate this time I forgot
to set the PATH shell variable.  After setting that, textmate is able to
find all the files it needs.


On Sun, Jul 5, 2009 at 8:48 PM, Barun Singh <[email protected]> wrote:

> I've set up a new environment where I'm running Rails 2.3.2, and have the
> rspec 1.2.7 and rspec-rails 1.2.7.1 gems installed.  I can run spec commands
> from the console without a problem.  However, if I try to run a spec via
> textmate (command-R or command-shift-R), I get an error saying that the
> bundle isn't able to load spec/autorun. (Full error at bottom).  I'm using
> the most recent version of the bundle pulled from github.  Any ideas what
> I'm missing to make this work?
>
> Thanks..
>
> Full text of error >>>
>
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require': no such file to load -- spec/autorun (LoadError)
> from
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
> `require' from /Users/barunio/Library/Application
> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/mate.rb:14 from
> /tmp/textmate-command-8789.rb:2:in `require' from
> /tmp/textmate-command-8789.rb:2
>
> <<<
>
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to