我在 Windows 上,我正在尝试安装Flat UI Pro
需要的Twitter Bootstrap Rails 3.1
.
但是每当我尝试安装时The Less Stylesheets
,我都会收到很多关于therubyracer
gem 和V8
文件的奇怪错误。
我需要跑步
rails generate bootstrap:install less
这给了我错误
[WARNING] Please install gem 'therubyracer' to use Less.
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/less-2.3.2/lib/less/java_script/v8_context.rb:2:in `require': cannot load such file -- v8 (LoadError)
服务器也没有启动
我的宝石档案
source 'https://rubygems.org'
gem 'rails', '3.2.13'
gem 'jquery-rails'
gem 'twitter-bootstrap-rails'
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
gem 'less-rails'
end
group :development, :test do
gem 'sqlite3'
end
group :production do
gem 'pg'
gem 'therubyracer-heroku', :platform => :ruby
end
如果有人有经验或之前安装了Twitter Bootstrap for Rails 3.1 Asset Pipeline,请帮帮我:) 谢谢