请帮忙,这是我的gemfile。这是我在 ubuntu 12.04 上创建的一个旧项目,现在我正在尝试在 Windows 8 上运行它。
来源“ https://rubygems.org ”
gem 'rails', '3.2.13'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'pg'
gem 'devise', '2.2.4'
gem 'execjs', :git => 'git://github.com/kennyj/execjs.git', :branch => 'rails_issue_2880'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
#gem 'therubyracer', :platforms => :ruby
gem 'twitter-bootstrap-rails'
gem 'less-rails'
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
命令提示符:
C:\Users\manu\Documents\projets\rails\xibart>rake db:migrate
[WARNING] Please install gem 'therubyracer' to use Less.
rake aborted!
cannot load such file -- v8
C:/Users/manu/Documents/projets/rails/xibart/config/application.rb:7:in `<top (r
equired)>'
C:/Users/manu/Documents/projets/rails/xibart/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)