-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception while installing the gem in teminal-less environment #112
Comments
Sigh. Sorry man, I was sure I had checked all differences. I’ll try get a fix out asap, I really want it to work with your IDEs.
It’s important to us so we can recognise what people have installed when they paste their output. People are using so many different Ruby versions that we need a way to recognise what’s being done, this was the only way I could find that made it work with how RubyGems runs the ext build phase. |
No problem! And now when I understand why that log is there I agree that it's quite useful for debugging purposes. Maybe if TTY is not available you should write it to the build log or something. |
Fixed by 11c7a7a and released as 0.14.1. |
Works great, thanks! |
🍻 |
If "gem install xcodeproj" is launched by the process which doesn't have a terminal associated with it the following error occurs:
I can only reproduce this with Ruby 1.8.7 (which is a standard one for Mountain Lion) but not with RVM's 1.9 or 2.0 . Looks like 1.8.7 returns true File.writeable?('/dev/tty') even if '/dev/tty' is not configured.
You can easily reproduce this by downloading RubyMine demo (http://www.jetbrains.com/ruby/) and trying to install xcodeproj 0.14.0 for 1.8.7 (Preferences | Ruby SDK and Gems)
This issue makes it hard to integrate xcodeproj (and dependent gems) with non-terminal applications. It's especially annoying that the offending line doesn't really do anything important.
The text was updated successfully, but these errors were encountered: