thibaudgg / rspactor

NO MORE MAINTAINED! Please try Guard http://github.com/guard/guard
http://github.com/guard/guard
MIT License
29 stars 3 forks source link

works on my mac pro, not on my macbook #3

Open inspire22 opened 14 years ago

inspire22 commented 14 years ago

macbook gives this error when it tries to run a spec (works fine with detecting it / etc)

Running: spec/controllers/topics_controller_spec.rb /Users/kevin/.rvm/gems/ree-1.8.7-2010.02/gems/rspactor-0.7.0.beta.4/lib/rspactor/../formatters/../rspactor/notifier.rb:1:in require': no such file to load -- sys/uname (LoadError) from /Users/kevin/.rvm/gems/ree-1.8.7-2010.02/gems/rspactor-0.7.0.beta.4/lib/rspactor/../formatters/../rspactor/notifier.rb:1 from /Users/kevin/.rvm/gems/ree-1.8.7-2010.02/gems/rspactor-0.7.0.beta.4/lib/rspactor/../formatters/rspec_two_formatter.rb:3:inrequire' from /Users/kevin/.rvm/gems/ree-1.8.7-2010.02/gems/rspactor-0.7.0.beta.4/lib/rspactor/../formatters/rspec_two_formatter.rb:3 from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration.rb:146:in require' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration.rb:146:inrequires=' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration.rb:146:in map' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration.rb:146:inrequires=' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration_options.rb:22:in send' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration_options.rb:22:inconfigure' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration_options.rb:21:in each' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/configuration_options.rb:21:inconfigure' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/command_line.rb:15:in run' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/runner.rb:46:inrun_in_process' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/runner.rb:37:in run' from /Users/inspire/.rvm/gems/ree-1.8.7-2010.02/gems/rspec-core-2.0.0.beta.17/lib/rspec/core/runner.rb:10:inautorun' from /Users/kevin/.rvm/gems/ree-1.8.7-2010.02/bin/rspec:19

Any tips? I'm also having trouble getting the textmate rspec bundle to work properly on my laptop, its possible the two problems are related.

thibaudgg commented 14 years ago

Do you use bundler? If yes, please add rspactor to your Gemfile. It'll automatically add sys/uname dependency.

inspire22 commented 14 years ago

Sorry, I should have mentioned - rspactor is in the gemfile, and sys-uname is installed. I don't know why its not finding it when the gem is installed, any tips how to debug that?

thibaudgg commented 14 years ago

Can you tried to require 'sys/uname' in your irb console and your rails console to see if it's work. You can tried that on your MacPro too (normally it's should work :). Do you use RVM?