Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 21db39c

Browse files
committed
Update README with clarification for OSX gems
1 parent 6fb5ce5 commit 21db39c

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,18 @@ If you don't see your platform on this list, first, make sure that it
3232
installs from source, and second talk to us about setting up a binary
3333
distro for you.
3434

35+
#### Note on ~~OS X~~ macOS binaries
36+
37+
If you're installing libv8 on a macOS system that is present in the list above,
38+
and despite that, RubyGems insists on downloading a source version and compiling
39+
it, check the output of `ruby -e 'puts Gem::Platform.local'`. If it does not
40+
reflect the current version of your OS, recompile Ruby.
41+
42+
The platform gets hardcoded in Ruby during compilation and if you've updated
43+
your OS since you've compiled Ruby, it does not represent correctly your current
44+
platform which leads to RubyGems trying to download a platform-specific gem for
45+
the older version of your OS.
46+
3547
### Versioning
3648

3749
Versions of the libv8 gem track the version of v8 itself, adding its

0 commit comments

Comments
 (0)