« Return to Thread: invalid path for gem

invalid path for gem

by nrolland :: Rate this Message:

Reply to Author | View in Thread


So, if a "HOME" variable is defined on your computer, rubygems will use it before anything else:



 def self.find_home

    ['HOME', 'USERPROFILE'].each do |homekey|

      return ENV[homekey] if ENV[homekey]

    end



So make sure you dont, or that it is expressed as an absolute path.



This stresses the problem with Java and ruby which are relying on non-rentrant mecanisms.

Which is why netbeans could not package in my case a self-contained jruby distribution.



Those should absolutely be proscribed, or given a way to override default mechanism. I think that is why 90 pct of java installation fails






---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: invalid path for gem