您的位置:首页 > Web前端 > BootStrap

intall twitter-bootstrap-rails

2013-07-19 05:19 148 查看
After watched http://railscasts.com/episodes/328-twitter-bootstrap-basics?autoplay=true       feel bootstrap is so coo.

So i try to install it following the vedio. but i got an error:

cannot load such file -- less
Googled it. Nothing changed.

Checking that vedio i found there was some unfamilair gems when "bundle show" executed.  i executed "bundle show" in my shell, and those gems did not show up. So i added it to my Gemfile's assets set

gem 'therubyracer'

gem 'less'

gem 'less-rails'

#bundle install

#rails s

the error message disappeared.   fuck.

When i wrote this blog, i tried to recur the error by commentting gems above out.  nothing happend. fuck.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: