"rails new" command does not generate public/javascript folder
"rails new" command does not generate public/javascript folder with js files there.(and other ways to make rails app do开发者_运维百科nt generate this folder too(for example RubyMine does not generate this folder too) Please help. I am newbie, but didnt find someone to have same problem.
using 3.1.0 rails version
Rails 3.1 generates your public assets under:
app/assets/javascripts
app/assets/stylesheets
app/assets/images
This is part of the new Asset Pipeline feature, which will precompile your assets into your public folder.
You can read all about the new asset paths in the Rails Guides: http://guides.rubyonrails.org/asset_pipeline.html
rails s
is supposed to launch the server so it's a good sign :)
Run rails new app_name
精彩评论