我是新手ruby on rails
,我一直在尝试将其twitter-bootstrap
用作资产,因此我已将其包含在我的 Gemfile 中,捆绑并成功安装。但是我注意到它依赖于我执行“捆绑”命令时未显示的某些依赖项。
它需要的依赖
(1) Libv8
(2) Less
(3) Less-rails
错误信息:
cannot load such file -- less
(in c:/Sites/todo/app/assets/stylesheets/bootstrap_and_overrides.css.less)
[code]
Extracted source (around line #8):
5: <!--[if lt IE 9]>
6: <script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
7: <![endif]-->
8: <%= stylesheet_link_tag "application", :media => "all" %>
9: <%= javascript_include_tag "application" %>
10: <%= csrf_meta_tags %>
11: <meta name="viewport" content="width=device-width, initial-scale=1.0">
[/code]
Trace
app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb__560528188_27183396'
app/controllers/lists_controller.rb:7:in `index'
我已经注意到这个问题的很多答案,并选择了明显的解决方案,但不知何故我仍然卡住了,非常感谢一些指导。