ruby-on-railsbin

rails not creating bin folder


New Rails user here. Apologies if this question has been asked before, but I couldn't find it after a day of searching.

I was following the Ruby on Rails getting started guide, so I created a test app called blog. According to the tutorial, the blog directory should have a bin folder in it, but it does not. It contains all of the other folders listed on the tutorial page, plus one called "scripts". Is scripts essentially the same folder as bin, or am I missing something? I am running rails v. 3.2.13 from a windows command prompt.

Thanks for any help you can give!


Solution

  • Bin directory was introduced in Rails 4.0

    http://edgeguides.rubyonrails.org/4_0_release_notes.html

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