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

"bundle exec rspec spec" vs rake spectask #4

Open
phiggins opened this issue Oct 14, 2010 · 4 comments
Open

"bundle exec rspec spec" vs rake spectask #4

phiggins opened this issue Oct 14, 2010 · 4 comments

Comments

@phiggins
Copy link

Instead of "bundle exec rspec spec", I think it's more user-friendly to use rspec's built-in rake SpecTask detailed here:
http://rspec.info/documentation/tools/rake.html

@radar
Copy link
Owner

radar commented Oct 14, 2010

This is not an available-by-default Rake task (it seems to be rspec 1.3), but I admit I would prefer one because it's shorter to type.

@txus
Copy link

txus commented Oct 15, 2010

In RSpec2, the Rake Task automatically uses bundle exec if the project uses Bundler.

http://github.com/rspec/rspec-core/blob/master/lib/rspec/core/rake_task.rb#L139

@radar
Copy link
Owner

radar commented Oct 16, 2010

Where in the guide would you introduce this?

@phiggins
Copy link
Author

At the point you start with this "To run the rspec command for our bundle ..." when you begin talking about executing the specs. You've already introduced the Rakefile at that point.

radar pushed a commit that referenced this issue Jun 30, 2017
Closes #4 - Remove link for modern day ruby warrior
Closes #7 - Fix dead internal link on security
Closes #9 - Remove modern day ruby warrior from resources
Closes #14 - Fix link to rubygems mirror repo
Closes #5 - Fix broken links from rubyforge on make your own gem page
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

3 participants