我对ruby on rails
相当新,我一直在尝试使用twitter-bootstrap
作为资产,在我的Gemfile中包含它,并捆绑并成功安装。但是我注意到它依赖于某些在执行“bundle”命令时未显示的依赖项。
它所需的依赖关系
(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'
我注意到已经有很多针对这个问题的答案了,而且我已经选择了显而易见的解决方案,但是不知为何我仍然卡住了,非常需要一些指导。