Rails Sprockets 2.1.3 以上版本暂不支持 bootstrap?

kevinhua · August 18, 2012 · 2255 hits

*= require bootstrap

*= require app_bootstrap

都会导致以下错误:

Sprockets::FileNotFound in Home#index

Showing /home/kevin/www-root-new/app/views/layouts/application.html.erb where line #5 raised:

需要改为 *= require _bootstrap 才能正常。

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.