-
Notifications
You must be signed in to change notification settings - Fork 345
Ruby Installation Error #436
Comments
ok, solved!
|
I came across this issue while searching because I was experiencing the exact same issue while using You do not need to uninstall Xcode. If you have Xcode installed, and you are using Homebrew, you can just do the following:
|
This does look like an error in Ruby's onig_number_of_names function. The num_entries field in the st_table of type st_index_t which is ultimately unsigned long, but onig_number_of_names returns int. |
Without uninstalling Xcode or installing apple-gcc42, just turning off the -Werror will do: |
Just do this: It solves my error. |
export CC=gcc It solved my problem too. |
It is said that |
export CC=gcc just sets it for that terminal session. if you want to just even use it for this use case only:
which worked for me. no need to un-install xcode |
While installing ruby on Mac Mountain Lion, I get the following error:
Looking at the make.log file:
I have installed latest Xcode 4, and also tried the workaround of issue #168; no success.
The text was updated successfully, but these errors were encountered: