I'm having similar issues, but when I run the CMD + R command in Textmate: /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 (LoadError) from /System/Library/Frameworks/ Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/ custom_require.rb:27:in `require' from /Users/robbyc/Library/ Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/ mate.rb:14 from /tmp/textmate-command-5945.rb:2:in `require' from /tmp/ textmate-command-5945.rb:2
On Mar 6, 3:02 pm, rockrep <rock...@gmail.com> wrote: > Hi David, all: > > I just recently upgraded to Rails 2.3.1RC2 (Mac OS.X 10.5.6, ruby > 1.8.7 (2008-08-11 patchlevel 72) [i686-darwin9]) and have been > dilligently following the instructions for upgrading rspec and rspec- > rails according to: > http://wiki.github.com/dchelimsky/rspec/rails-with-rspec-gems. > I have successfully built the rspec and rspec-rails gems, installed > and unpacked them, and ran script/generate rspec successfully. > > 'rakespec' works fine, however 'script/spec' fails with error: > $ script/specspec > script/spec:3:in `require':nosuchfiletoload--spec(LoadError) > > script/speclooks like: > #!/usr/bin/env ruby > $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__) + "/../ > vendor/plugins/rspec/lib")) > require 'spec' > exit ::Spec::Runner::CommandLine.run > > and 'rake gems RAILS_ENV=test' returns: > - [R] rspec >= 1.1.99.12 > - [F] rspec-rails >= 1.1.99.12 > - [R] rspec = 1.1.99.12 > - [F] rack = 0.9.1 > - [ ] cucumber >= 0.1.13 > - [ ] hoe >= 1.9.0 > > I = Installed > F = Frozen > R = Framework (loaded before rails starts) > > rspec does not exist in vendor/gems, but rspec-rails does. It seems > it's marked as 'R' which (1) I'm not certain I understand why, and (2) > seems to prevent unpacking into vendor/gems. In any case, I would > like to resolve the issue with script/spec. > > Since rspec is also not installed in vendor/plugins the LOAD_PATH line > in script/speclooks odd, but I'm not sure it's the cause. > > Any pointers greatly appreciated. Thanks, > > Michael > > _______________________________________________ > rspec-users mailing list > rspec-us...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users