我正在尝试在我的rails应用程序中包含一个日期时间选择器,环顾四周我找到了这个:http://www.malot.fr/bootstrap-datetimepicker/index.php
但是当我尝试编译它时,我收到以下错误:
$lessc build/build_standalone.less datetimepicker.css
/usr/local/rvm/gems/ruby-2.0.0-head/gems/less-2.3.2/bin/lessc:100:in `read': No such file or directory - datetimepicker.css (Errno::ENOENT)
from /usr/local/rvm/gems/ruby-2.0.0-head/gems/less-2.3.2/bin/lessc:100:in `<top (required)>'
from /usr/local/rvm/gems/ruby-2.0.0-head/bin/lessc:23:in `load'
from /usr/local/rvm/gems/ruby-2.0.0-head/bin/lessc:23:in `<main>'
我不是很新鲜less
你可以帮我解决这个问题吗?
os是mac os 10.8.4
谢谢,
答案 0 :(得分:0)
解决了:
第二个参数未正确指向css文件。
正确的命令行是:
$lessc build/build_standalone.less css/datetimepicker.css
谢谢:)