therubyracer install error

后端 未结 12 1030

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:54

    On Mountain Lion 10.8, it doesn't come preinstalled with a C compiler. You'll need to download and install the 'command line tools' package from Apple themselves, and then run which gcc to confirm it is installed. Everything should run fine from there on in.

提交回复
热议问题