Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run specs #1

Closed
stevenjackson opened this issue Nov 12, 2012 · 3 comments
Closed

Can't run specs #1

stevenjackson opened this issue Nov 12, 2012 · 3 comments

Comments

@stevenjackson
Copy link
Collaborator

cloned and ran bundle_install - seems to be having trouble with yml_reader, which is installed..

$ rake spec
/Users/stevejackson/.rvm/rubies/ruby-1.9.3-p194/bin/ruby -I lib:spec -S rspec spec/fig_newton/fig_newton_spec.rb

An error occurred 
  NameError: uninitialized constant YmlReader::YAML
  occurred at /Users/stevejackson/.rvm/gems/ruby-1.9.3-p194@data_magic/gems/yml_reader-0.2/lib/yml_reader.rb:26:in `load'


An error occurred 
  NameError: uninitialized constant YmlReader::YAML
  occurred at /Users/stevejackson/.rvm/gems/ruby-1.9.3-p194@data_magic/gems/yml_reader-0.2/lib/yml_reader.rb:26:in `load'


Finished in 0.00116 seconds
3 examples, 3 failures

$ gem list

*** LOCAL GEMS ***

builder (3.1.4)
bundler (1.1.3)
coderay (1.0.8)
cucumber (1.2.1)
diff-lcs (1.1.3)
fuubar (1.1.0)
fuubar-cucumber (0.0.18)
gherkin (2.11.5)
growl (1.0.3)
guard (1.5.4)
guard-cucumber (1.2.2)
guard-rspec (2.1.1)
json (1.7.5)
listen (0.5.3)
lumberjack (1.0.2)
method_source (0.8.1)
pry (0.9.10)
rake (10.0.0, 0.9.2.2)
rb-fsevent (0.9.2)
rspec (2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.3)
rspec-instafail (0.2.4)
rspec-mocks (2.11.3)
ruby-progressbar (1.0.2)
rubygems-bundler (0.9.0)
rvm (1.11.3.3)
slop (3.3.3)
thor (0.16.0)
yml_reader (0.2)
@cheezy
Copy link
Owner

cheezy commented Nov 14, 2012

There was an old .rvmrc file there using 1.9.3-p0. Perhaps this was causing your problems. I just updated it. Pull again, run bundle and then run them again.

@stevenjackson
Copy link
Collaborator Author

Pulled latest, untrusted rvmrc, modified .rvmrc to create a new gemset, re-trusted, re-bundled => success.

@stevenjackson
Copy link
Collaborator Author

Ended up seeing this issue again after a fresh clone. Steps above didn't help, so added require in b328e13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants