4

我已经阅读了解决 therubyracer on windows 问题的惊人解决方案:therubyracer gem on windows,但我不完全知道如何therubyracerless-railsgem 中删除依赖。在我捆绑安装 gemfile 后therubyracer,它仍然显示错误

[WARNING] Please install gem 'therubyracer' to use Less...

这是我为我的 gemfile 写的:

source 'https://rubygems.org'
ruby '2.0.0'
gem 'rails'
gem 'execjs'

group :development do
    gem 'sqlite3'
end

group :production do
    gem 'rails_12factor'
    gem 'pg'
end

gem 'sass-rails'
gem 'coffee-rails'
gem 'uglifier'

gem 'less'
gem 'less-rails'

gem 'haml'
gem 'haml-rails'
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder'
gem 'twitter-bootstrap-rails'
gem 'jquery-rails'
gem 'jquery-ui-rails'
gem 'designmodo-flatuipro-rails'
gem 'protected_attributes'
gem 'angularjs-rails'

group :doc do
    gem 'sdoc', require: false
end
4

1 回答 1

-1

您可以尝试therubyracer_for_windows,它打包了 v8 dll。

于 2014-07-24T08:28:54.533 回答