[英]Rails: Issue with less after bootstrap update — Cannot load such file — less
It all was working fine before bootstrap update but now i have this error: 在引导程序更新之前一切正常但现在我有这个错误:
cannot load such file -- less
(in /home/warch/development/railcast_196/app/assets/stylesheets/bootstrap_and_overrides.css.less)`
i tried to google this with no luck, i already added the less gems specified in the latest bug resolve: 我试图谷歌这没有运气,我已经添加了最新的错误解决中指定的较少的宝石:
Gemfile
extract: Gemfile
提取:
gem 'less-rails'
gem 'therubyracer'
...
gem 'twitter-bootstrap-rails'
add in your Gemfile in assets group 在资产组中添加Gemfile
gem 'less', '2.2.2' # (at this date) 宝石'少','2.2.2'#(在此日期)
This was gladly a resolved duplicate of: 很高兴这是一个经过解决的副本:
Adding twitter-bootstrap-rails with an existing rails app 使用现有的rails app添加twitter-bootstrap-rails
I only need to restart as @ danieleds answered. 我只需要重新启动@ danieleds回答。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.