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

Rails guide should explain using rails binstubs #156

Open
indirect opened this issue May 19, 2015 · 3 comments
Open

Rails guide should explain using rails binstubs #156

indirect opened this issue May 19, 2015 · 3 comments

Comments

@indirect
Copy link
Member

In the Rails guide, we ask users to run bundle exec rails new, which makes sense if you need to generate a Rails app from a specific version of Rails—after the Rails app is generated, though, users should run bin/rails rather than bundle exec rails. Let's document that.

@RochesterinNYC
Copy link
Contributor

@indirect Not exactly sure where in the existing Rails guides (2.3 or 3) this would come into play as I don't see anywhere that we currently ask users to use bundle exec rails new?

@indirect
Copy link
Member Author

@RochesterinNYC ah, sorry, I must have been thinking of something else I have written explaining how to create rails apps using a specific version of rails. If the rails guide explains how the rails gem works, maybe that can reduce confusion around this.

@olleolleolle
Copy link
Member

Dear Bundler people.

I was just about to find the docs about binstubs.

http://bundler.io/v1.14/man/bundle-binstubs.1.html refers to them, but does not define what they are (they're scripts that launch Ruby executable programs offered by Rubygems).

Mislav's text about them in the rbenv wiki is quite great: https://github.com/rbenv/rbenv/wiki/Understanding-binstubs

This repository does not have much text about them https://github.com/bundler/bundler-site/search?utf8=%E2%9C%93&q=binstub Should it?

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

No branches or pull requests

4 participants