← Back to Upcase

Learn repo and bin executables


(Jon Seidel) #1

I was looking over the learn repo and noticed that there is a bin directory which contains a large number of common executables (e.g., foreman, bourbon, bundle, haml, rspec, etc).

What’s the purpose of this? I’m guessing that it’s done so you can execute more stuff live from Heroku…?


(Charlieanna) #2

I think bin directory is automatically created for you in rails 4 and has nothing to do with heroku.

Your app's executables now live in the bin/ directory. Run rake rails:update:bin to get bin/bundle, bin/rails, and bin/rake.

(Derek Prior) #3

These are binstubs.

See: http://mislav.uniqpath.com/2013/01/understanding-binstubs/