Rubygems 1.3.6 may not be ready for primetime
---------------------------------------------
Key: JRUBY-4727
URL: http://jira.codehaus.org/browse/JRUBY-4727
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.5
Environment: jruby 1.5.0.RC1 (ruby 1.8.7 patchlevel 249) (2010-04-14
0b08bc7) (Java HotSpot(TM) Server VM 1.6.0_19) [i386-java]
Reporter: David Kellum
Assignee: Thomas E Enebo
In Rubygems 1.3.6, gem install no longer falls back to ~/.gem if the current
user doesn't have write permissions to GEM_HOME. Example:
{noformat}
% jgem install -V rake
...
GET http://production.cf.rubygems.org/gems/rake-0.8.7.gem
200 OK
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions into the
/opt/dist/jruby-1.5.0.RC1/lib/ruby/gems/1.8 directory.
{noformat}
The workaround is to use --install-dir or explicitly set GEM_HOME to ~/.gem/..
This can be considered regression from JRuby 1.4.0/Rubygems 1.3.5 and is a
major nuisance for environments taking advantage of that feature.
Permission problem with install to home directory:
http://rubyforge.org/tracker/?func=detail&group_id=126&aid=27896&atid=575
Similar problem with gem unpack:
http://rubyforge.org/tracker/index.php?func=detail&aid=27872&group_id=126&atid=575
this one with a fix on trunk.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
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