bundle install issue with libv8 and rails

前端 未结 6 474

I\'m having issues with the libv8 gem with ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]. gem install libv8 works fine and I have



        
6条回答
  •  执笔经年
    2020-12-11 07:49

    I suspect this was because I had a 32/64 bit mismatch.

    I solved this with the following:

    $ irb
    ruby-1.9.3-p0 :001 > `gem list`.each_line {|line| `sudo env ARCHFLAGS="-arch x86_64" gem install #{line.split.first}`
    

提交回复
热议问题