开发者

"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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜