AndreXP
2009-Apr-14 09:00 UTC
[rspec-users] (MissingSourceFile) no such file to load -- spec/expectations/differs/default
Hi All,
This morning I did a "gem update" which installed
"rspec-1.2.4" and when I
run my cucumber "rake features" command I got the following:
c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:142:in `activate'':
can''t activate
rspec (= 1.2.2, runtime), already activated rspec-1.2.4
(Gem::Exception)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`polyglot_original_require''
from
c:/ruby/lib/ruby/gems/1.8/gems/polyglot-0.2.5/lib/polyglot.rb:54:in
`require''
from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require''
from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
`new_constants_in''
from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require''
from
c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:92:in
`enable_diffing''
from
c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:35:in
`execute!''
from
c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:20:in
`execute''
from c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/cucumber:6
rake aborted!
Command failed with status (1): [c:/ruby/bin/ruby -I
"c:/ruby/lib/ruby/gems...]
Then I run the "Gem clean" command which removed all old gems... and
when I
run my cucumber "rake features" command I got the following:
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load --
spec/expectations/differs/default (MissingSourceFile)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`polyglot_original_require''
from
c:/ruby/lib/ruby/gems/1.8/gems/polyglot-0.2.5/lib/polyglot.rb:54:in
`require''
from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require''
from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
`new_constants_in''
from
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require''
from
c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:92:in
`enable_diffing''
from
c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:35:in
`execute!''
from
c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:20:in
`execute''
from c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/cucumber:6
rake aborted!
Command failed with status (1): [c:/ruby/bin/ruby -I
"c:/ruby/lib/ruby/gems...]
Any thoughts on fixing this as ?gem install spec? gives me : ?ERROR: could
not find gem spec locally or in a repository?,
Andre
--
View this message in context:
http://www.nabble.com/%28MissingSourceFile%29-no-such-file-to-load----spec-expectations-differs-default-tp23035747p23035747.html
Sent from the rspec-users mailing list archive at Nabble.com.
AndreXP
2009-Apr-14 09:40 UTC
[rspec-users] (MissingSourceFile) no such file to load -- spec/expectations/differs/default
Fixed :) I should have looked in lighthouseapp for this ticket..!! Thanks for the speedy reply. Andre Aslak Hellesoy wrote:> > On Tue, Apr 14, 2009 at 11:00 AM, AndreXP > <andre.x.pretorius at gmail.com>wrote: > >> >> Hi All, >> >> This morning I did a "gem update" which installed "rspec-1.2.4" and when >> I >> run my cucumber "rake features" command I got the following: >> > > Try the latest Cucumber code (aslakhellesoy-cucumber gem). This was fixed > yesterday: > https://rspec.lighthouseapp.com/projects/16211/tickets/291-dependency-on-internal-files-in-rspec-breaks-cucumber-w-rspec-124#ticket-291-2 > > Aslak > > >> >> c:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:142:in `activate'': can''t >> activate >> rspec (= 1.2.2, runtime), already activated rspec-1.2.4 >> (Gem::Exception) >> from >> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in >> `polyglot_original_require'' >> from >> c:/ruby/lib/ruby/gems/1.8/gems/polyglot-0.2.5/lib/polyglot.rb:54:in >> `require'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in >> `require'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in >> `new_constants_in'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in >> `require'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:92:in >> `enable_diffing'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:35:in >> `execute!'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:20:in >> `execute'' >> from c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/cucumber:6 >> rake aborted! >> Command failed with status (1): [c:/ruby/bin/ruby -I >> "c:/ruby/lib/ruby/gems...] >> >> Then I run the "Gem clean" command which removed all old gems... and when >> I >> run my cucumber "rake features" command I got the following: >> >> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >> `gem_original_require'': no such file to load -- >> spec/expectations/differs/default (MissingSourceFile) >> from >> c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in >> `polyglot_original_require'' >> from >> c:/ruby/lib/ruby/gems/1.8/gems/polyglot-0.2.5/lib/polyglot.rb:54:in >> `require'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in >> `require'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in >> `new_constants_in'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in >> `require'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:92:in >> `enable_diffing'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:35:in >> `execute!'' >> from >> >> c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/../lib/cucumber/cli/main.rb:20:in >> `execute'' >> from c:/ruby/lib/ruby/gems/1.8/gems/cucumber-0.2.3/bin/cucumber:6 >> rake aborted! >> Command failed with status (1): [c:/ruby/bin/ruby -I >> "c:/ruby/lib/ruby/gems...] >> >> >> Any thoughts on fixing this as ?gem install spec? gives me : ?ERROR: >> could >> not find gem spec locally or in a repository?, >> >> Andre >> >> -- >> View this message in context: >> http://www.nabble.com/%28MissingSourceFile%29-no-such-file-to-load----spec-expectations-differs-default-tp23035747p23035747.html >> Sent from the rspec-users mailing list archive at Nabble.com. >> >> _______________________________________________ >> rspec-users mailing list >> rspec-users at rubyforge.org >> http://rubyforge.org/mailman/listinfo/rspec-users > > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >-- View this message in context: http://www.nabble.com/%28MissingSourceFile%29-no-such-file-to-load----spec-expectations-differs-default-tp23035747p23036301.html Sent from the rspec-users mailing list archive at Nabble.com.