Will not run on a linux computer
austinbv opened this issue · 8 comments
I am trying to run specjour on a linux computer (ubuntu 11.04) and I get an error
my stack trace for the error is
$ specjour
Looking for managers...
No listeners found on this machine, starting one...
/home/austin/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require': no such file to load -- rspec/core (LoadError)
from /home/austin/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/specjour-0.4.1/lib/specjour/rspec.rb:3
from /home/austin/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
from /home/austin/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/specjour-0.4.1/lib/specjour/manager.rb:4
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/specjour-0.4.1/lib/specjour/dispatcher.rb:94:in `fork_local_manager'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/specjour-0.4.1/lib/specjour/dispatcher.rb:106:in `gather_managers'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/specjour-0.4.1/lib/specjour/dispatcher.rb:23:in `start'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/specjour-0.4.1/lib/specjour/cli.rb:49:in `dispatch'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/thor-0.14.6/lib/thor/task.rb:22:in `send'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/specjour-0.4.1/lib/specjour/cli.rb:18:in `start'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/gems/specjour-0.4.1/bin/specjour:5
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/bin/specjour:19:in `load'
from /home/austin/.rvm/gems/ruby-1.8.7-p302@project/bin/specjour:19
In order to not muck up the issue I will not put all the outputs but more information can be found at http://stackoverflow.com/questions/6756239/specjour-error-trace
Install RSpec2. /thread
if you look at the stackoverflow post there is output from my gem list and bundle show showing that rspec is installed and working. Considering that commands like rake spec
work, the system is able to find rspec.
RSpec2
All I see in your gem list is rspec1:
rspec (1.3.0)
TBH, I never tried specjour on rspec1, but compatibility list in README says it isn't supported.
it works 100% on my mac, I will try with rspec2 but the project may not support it.
Could you show gem list
and bundle show
from your mac?
yes
$ gem list
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (2.3.8)
actionpack (2.3.8)
activerecord (2.3.8)
activeresource (2.3.8)
activesupport (2.3.8)
block_helpers (0.3.2)
braintree (2.6.1)
builder (2.1.2)
bundler (1.0.15)
capybara (0.3.9)
carrierwave (0.4.10)
childprocess (0.1.4)
chronic (0.2.3)
columnize (0.3.1)
configuration (1.1.0)
culerity (0.2.12)
daemons (1.1.0)
database_cleaner (0.5.0)
decent_exposure (1.0.0.rc1)
devise (1.0.7)
dnssd (1.3.4)
engineyard (1.2.4)
erubis (2.6.5)
escape (0.0.4)
eventmachine (0.12.10)
factory_girl (1.2.4)
faker (0.3.1)
fastercsv (1.5.4)
ffi (0.6.3)
geokit (1.5.0)
haml (3.0.18)
highline (1.5.2)
hoe (2.6.2)
hoptoad_notifier (2.4.2)
json (1.4.6)
json_pure (1.4.6)
launchy (0.3.5)
linecache (0.43)
mail_safe (0.3.1)
mime-types (1.16)
mini_magick (2.1)
mocha (0.9.8)
mysql (2.8.1)
newrelic_rpm (2.13.4)
nokogiri (1.4.3.1)
rack (1.1.0)
rack-bug (0.3.0)
rack-test (0.5.6)
rails (2.3.8)
rake (0.8.7)
redis (2.0.10)
redis-namespace (0.7.0)
resque (1.9.7)
resque-scheduler (1.9.7)
rest-client (1.6.1)
rspec (1.3.0)
rspec-rails (1.3.2)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3)
ruby-termios (0.9.6)
rubyforge (2.0.4)
rubyzip (0.9.4)
rufus-scheduler (2.0.7)
searchlogic (2.4.19)
selenium-webdriver (0.1.1)
shoulda (2.10.3)
sinatra (1.0)
slug (0.5.5)
specjour (0.3.1)
ssl_requirement (0.1.0)
subexec (0.0.4)
system_timer (1.0)
thin (1.2.7)
thor (0.14.3)
timecop (0.3.4)
tzinfo (0.3.23)
unicorn (1.1.3)
vegas (0.1.7)
warden (0.10.7)
watchr (0.7)
will_paginate (2.3.14)
$ bundle show
Gems included by the bundle:
* aasm (2.2.0 5d71530)
* abstract (1.0.0)
* actionmailer (2.3.8)
* actionpack (2.3.8)
* activerecord (2.3.8)
* activeresource (2.3.8)
* activesupport (2.3.8)
* block_helpers (0.3.2)
* braintree (2.6.1)
* builder (2.1.2)
* bundler (1.0.15)
* capybara (0.3.9)
* carrierwave (0.4.10)
* childprocess (0.1.4)
* chronic (0.2.3)
* columnize (0.3.1)
* configuration (1.1.0)
* culerity (0.2.12)
* daemons (1.1.0)
* database_cleaner (0.5.0)
* decent_exposure (1.0.0.rc1)
* devise (1.0.7)
* dnssd (1.3.4)
* email_spec (0.6.3 5b1bb44)
* engineyard (1.2.4)
* erubis (2.6.5)
* escape (0.0.4)
* eventmachine (0.12.10)
* factory_girl (1.2.4)
* faker (0.3.1)
* fastercsv (1.5.4)
* ffi (0.6.3)
* geokit (1.5.0)
* haml (3.0.18)
* highline (1.5.2)
* hoe (2.6.2)
* hoptoad_notifier (2.4.2)
* json (1.4.6)
* json_pure (1.4.6)
* k_means (0.0.6 55baa81)
* launchy (0.3.5)
* linecache (0.43)
* mail_safe (0.3.1)
* mime-types (1.16)
* mini_magick (2.1)
* mocha (0.9.8)
* mysql (2.8.1)
* newrelic_rpm (2.13.4)
* nokogiri (1.4.3.1)
* rack (1.1.0)
* rack-bug (0.3.0)
* rack-test (0.5.6)
* rails (2.3.8)
* rake (0.8.7)
* redis (2.0.10)
* redis-namespace (0.7.0)
* resque (1.9.7)
* resque-scheduler (1.9.7)
* rest-client (1.6.1)
* rspec (1.3.0)
* rspec-rails (1.3.2)
* ruby-debug (0.10.3)
* ruby-debug-base (0.10.3)
* ruby-termios (0.9.6)
* rubyforge (2.0.4)
* rubyzip (0.9.4)
* rufus-scheduler (2.0.7)
* searchlogic (2.4.19)
* seed-fu (1.2.3 8673272)
* selenium-webdriver (0.1.1)
* shoulda (2.10.3)
* sinatra (1.0)
* slug (0.5.5)
* specjour (0.3.1)
* ssl_requirement (0.1.0)
* subexec (0.0.4)
* system_timer (1.0)
* thin (1.2.7)
* thor (0.14.3)
* timecop (0.3.4)
* tzinfo (0.3.23)
* unicorn (1.1.3)
* vegas (0.1.7)
* warden (0.10.7)
* watchr (0.7)
* will_paginate (2.3.14)
b11760c -- note change in README.
You use specjour 0.3.1 (which supports RSpec1) on your dev machine and specjour 0.4.1 (which doesn't support RSpec1) on your production machine. I guess you're stuck with 0.3.1 for the time being since Rails2 wasn't compatible with RSpec2 last time I checked.
I thought I scoured those gemfiles. You have a great eye thank you.