Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.RC2
Assignee: Thomas E Enebo
Created: 16/Oct/12 3:55 AM
Description:

Running jgem push asks for user password by using ask_password function from rubygems/user_interaction.rb. This function requires 'io/console', which exists in MRI (gem io-console), but has no counterpart in JRuby. This causes JRuby to fail with "LoadError: no such file to load – io/console". This issue is related to providing the counterpart of MRI-bundled Gems (JIRA #6704). Until the bundled gem situation is resolved, it might be ideal to provide some kind of 'io/console' equivalent in JRuby. (Sorry to be reporting this so close to final release of JRuby 1.7 - I only found it out while trying to remember why rubygems package requires io-console gem in Fedora and then trying to run the same code under JRuby.)
Also, it seems, that this issue is only affecting the 1.9 mode of JRuby, as the function is defined differently for ruby version <= 1.9.2.

Project: JRuby
Labels: rubygems
Priority: Major Major
Reporter: Bohuslav "Slavek" Kabrda
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to