Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

rspec-rails doesn't have Gemfile, bombs on rake setup #16

Closed
alindeman opened this Issue · 5 comments

2 participants

@alindeman
Collaborator

When running rake setup:

==================================================
# repos/rspec-rails
# bundle install
----------------------------------------
bundle install
Could not locate Gemfile
rake aborted!
Command failed with status (10): [bundle install...]
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:995:in `block in sh'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:1010:in `call'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:1010:in `sh'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:1094:in `sh'
/home/andy/workspace/rspec-dev/Rakefile:17:in `block (2 levels) in run_command'
/home/andy/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:121:in `chdir'
/home/andy/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/fileutils.rb:121:in `cd'
/home/andy/workspace/rspec-dev/Rakefile:12:in `block in run_command'
/home/andy/workspace/rspec-dev/Rakefile:10:in `each'
/home/andy/workspace/rspec-dev/Rakefile:10:in `run_command'
/home/andy/workspace/rspec-dev/Rakefile:157:in `block (2 levels) in '
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:636:in `call'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:636:in `block in execute'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:631:in `each'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:631:in `execute'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:597:in `block in invoke_with_call_chain'
/home/andy/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:607:in `block in invoke_prerequisites'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:604:in `each'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:604:in `invoke_prerequisites'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:596:in `block in invoke_with_call_chain'
/home/andy/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:583:in `invoke'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:2029:in `block (2 levels) in top_level'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:2029:in `each'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:2029:in `block in top_level'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:2023:in `top_level'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:2001:in `block in run'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:2068:in `standard_exception_handling'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/lib/rake.rb:1998:in `run'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/gems/rake-0.8.7/bin/rake:31:in `'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/bin/rake:19:in `load'
/home/andy/.rvm/gems/ruby-1.9.2-p180@rspec-dev/bin/rake:19:in `'
@dchelimsky
Owner

FYI - the lack of a Gemfile is intentional - there are several of them in the gemfiles directory in the rspec-rails project. Just need rake setup to set one :)

For now:

cd repos/rspec-rails
thor use:rails 3.0.6
# wait a minute
# now you can execute bin/rspec or bin/cucumber

I'll follow up here w/ more explanation if you have any questions.

@alindeman
Collaborator

Yah, that makes sense .. but shouldn't the setup task for rspec-dev be updated? Following the documented steps in the README and running into an error is a bug, IMHO.

@dchelimsky
Owner

Absolutely - that's why I gave you a workaround and kept this open :)

@alindeman
Collaborator

... or the documentation should be updated?

@alindeman
Collaborator

Ah, thanks :D

@jeremywadsack jeremywadsack referenced this issue from a commit in jeremywadsack/rspec-dev
@dchelimsky dchelimsky should[_not] change now handles boolean values correctly
- Closes #16.
ecd24f5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.