-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Ruby 2.1.3 failed to build on OSX 10.9 #32910
Comments
More verbose info
|
|
Please follow the troubleshooting instructions rather than paste directly into the issue: https://github.com/Homebrew/homebrew/wiki/troubleshooting |
ping? |
@jacknagel sorry for delay,
and
|
Also to update the issue, installation (without upgrade) fails in the same manner |
What I'm really looking for is the full build logs ( |
I obviously cannot read simple instructions, sorry |
@jacknagel any news please? would love to have custom configured ruby installation, but it isn't possible so far. Thanks |
I've never seen this particular failure before so I don't know what to suggest. Try installing a more minimal configuration to see if you can narrow it down to a particular option. For example, does plain |
Yes, it does exactly the same, I've just tried with 2.1.5, it's still failing (only |
I've also tried with latest
|
Well I have found a solution, see here: https://github.com/clevertechru/tips/wiki/osx-rails-solutions Switch args << "--disable-dtrace" #unless MacOS::CLT.installed? What does the condition even mean? Can you explain please? |
What does |
it's |
If you do the following:
does the error still occur? |
Yes, the error is the same even after switching. |
Huh. dtrace support is supposed to work if the CLT is installed. Not sure what else to suggest. |
Commenting to mention this problem is still extant with 2.1.2 and 2.2.0 |
Yes, I've had to change the sources again on upgrade. Thanks for head up @sparr |
For some other work I had temporarily set the suid bit on /usr/sbin/dtrace. Removing that so the default permissions of -rwxr-xr-x fixed this for me. Another easy way to do the same thing would be to repair disk permissions from Disk Utility. |
@deviantintegral thank you for hint, I have also SUID set on dtrace, however Disk Utility says Could Homebrew somehow modify the file? |
However I can confirm, this issue is cause by SUID bit on sudo chmod -s /usr/sbin/dtrace |
@deviantintegral Thank you! I, too, had set the suid bit temporarily on dtrace and was having issues compiling 2.1.x and 2.2.0 with rvm. Works just fine now. |
Hi, This line by @smarek helped resolve the issue:
Thanks everyone! |
With important problem being "error: unable to open output file '/dev/fd/8': ''"
With install flags --with-gdbm, --with-tcltk, --with-libffi, --with-gmp, --with-doc
The text was updated successfully, but these errors were encountered: