therubyracer install error

后端 未结 12 1031

As you can see below, libv8 installs fine, but therubyracer doesn\'t. I\'m using Mac 10.7.4.

~/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1> gem install lib         


        
12条回答
  •  不思量自难忘°
    2020-12-13 09:34

    For Linux:

    The code below is of course correct

    $ gem uninstall libv8

    $ gem install therubyracer

    But sometimes it does't help because you haven't program make. AT FIRST you need install make. To do this, run:

    sudo apt-get install build-essential

    And only after that:

    gem install therubyracer

提交回复
热议问题