-
Notifications
You must be signed in to change notification settings - Fork 191
Fails Install OS X El Capitan - 10.11 Beta (15A215h) #359
Comments
This helped me: http://stackoverflow.com/a/20145328/275058 |
|
|
Newest versions of libv8 are already compatibly with el capitan, but therubyracer gem references an old version of libv8. Reference: rubyjs/libv8#180 |
@karlentwistle may I see the output of the |
Sure thing
|
Any more insights on how to resolve or work around this issue? Thanks, |
I'm having the same problem. I tried using only the I'm afraid I'll have to roll back to Yosemite to be able to work again 😞 |
@rmasoni I was able to install the gem using |
@bpinto Yes. Then I was able to install via @sbenyaala's link (with Later I tried to run |
here's a binary I built while we wait for 3.16.14.12: this worked for me (while seemingly nothing else did)
|
The @DeLaGuardo instructions? ended up working for me, but not directly. I had to uninstall all libv8 && v8 (brew and gem). Unfortunately, it was one of those 'try a billion paths and stop when one worked' sort of deals, and I didn't have a great record of what ended up working. I am sorry, and a bit ashamed... Still...thank you @DeLaGuardo for providing the path towards moving forward!! |
@DeLaGuardo instructions mostly worked for me (with El Capitan Public Beta 3, Xcode 7 Beta, Command Line Tools 7.0 beta), but instead of |
So, I got a second bite at the apple with the release of Ruby 2.2.3. I installed 2.2.3 using rbenv
Then I switched the 'local' version of my ruby to use the new 2.2.3 install
Then installed bundler
Then I using the binary @michaelglass built. Not that once you download the gem, you need to either run the gem install command from the directory that you downloaded it from or pass the path to the downloaded file.
From here I was able to do a regular bundle install for my projects and everything worked splendidly. |
@DeLaGuardo Can you share the tar.gz file with me? I can't download it. Homebrew/legacy-homebrew#44496 |
sigh Having trouble with El Capitan also. Here's a gist with the trouble, any ideas? https://gist.github.com/joshsz/300ca553bf3e4fe3ff2d (The TL;DR is |
@joshsz I noticed that the segmentation fault was in the JSON gem, not libv8 or the rubyracer. Also, We recently released a binary that should be compatible with El Capitan. What happens if you remove all
|
Thanks so much, @cowboyd. Just found this thread when running into this problem, and the updated libv8 works just fine. (Ruby 2.2.3, fresh install of El Capitan) |
@cowboyd Awesome, that seems to have fixed it, thanks! |
@cowboyd Thanks from me too! In hind sight I think trying to learn Ruby right after upgrading to El Capitan might have caused me a little bit of consternation (massive understatement!) -- does anyone know of a resource for reading about OSX updates -- especially concerning local development environments -- that I (we) may read to help decide whether the update is "worth it". I have a friend I respect greatly that never upgrades his OSX... okay, but this can't be good long-term? TIA Again, Thanks to @cowboyd !! |
This helped me : http://stackoverflow.com/a/20145328/1981328 |
I wasn't able to get any of the above solutions to work (or rather, everything I could get to work would have required the rest of my team to rebundle). After switching from rbenv to RVM, however, |
bump. Same problem. This gem is kind of broken on macs at this stage. Fresh OS X install and kaboom. |
@itssasank , this won't work on El Capitan. the /usr/bin is locked at the kernel level so symlinks are not allowed. |
Tried to install therubyracer with El Capitan. @DeLaGuardo's instructions fixed it for me with one tweak: $ bundle config build.libv8 --with-system-v8
$ bundle install |
This seems to be working for me, if you can change your Gemfile.lock on your project. Change libv8 in Gemfile.lock to I also did Then run this:
|
simply changing the Gemfile.lock as @afiedler proposed worked while using a older project with an older libv8 version ... thanks |
Install issues on darwin 14 and 15 should be fixed now (by the release of libv8 3.16.14.14 and 3.16.14.15), I'm going to lock this issue to encourage opening new issues. |
gem install therubyracer -v '0.12.2'
The text was updated successfully, but these errors were encountered: