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

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

Closed
alindeman opened this issue Apr 17, 2011 · 5 comments
Closed

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

alindeman opened this issue Apr 17, 2011 · 5 comments

Comments

@alindeman
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor Author

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
Copy link
Contributor

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

@alindeman
Copy link
Contributor Author

... or the documentation should be updated?

@alindeman
Copy link
Contributor Author

Ah, thanks :D

jeremywadsack pushed a commit to jeremywadsack/rspec-dev that referenced this issue Apr 8, 2012
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