Error installing libv8: ERROR: Failed to build gem native extension

后端 未结 16 1268
不思量自难忘°
不思量自难忘° 2020-11-27 09:21

I made a rails project with,

rails new test_bootstrap.

succeeded.

moved to the project dir and added the gems

gem \         


        
16条回答
  •  没有蜡笔的小新
    2020-11-27 09:37

    Other workaround to fix the problem is to separate them in the Gemfile

    group :production do
     gem 'libv8', '~> 3.11.8.3'
     gem 'therubyracer', :platform => :ruby
    end
    

    And then run the bundle command: bundle install --without production

提交回复
热议问题