I''ve just installed ruby and rubygems on a solaris machine, but when i do this : gem install rails --include-dependencies -p http://10.17.0.1:3128 it crashes out with : ERROR: While executing gem ... (NoMethodError) undefined method `[]='' for #<Gem::ConfigFile:0x84691d4> Does anybody have any idea why its hapenning? Im totally at a loss. Any help would be greatly appreciated. Thanks CHris -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Its a bug with rubygems not working with a proxy. I manually added this method : def []=(key,value) @hash[key.to_s]=value end and it now works. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Chris wrote:> Its a bug with rubygems not working with a proxy. I manually added this > method : > > def []=(key,value) > @hash[key.to_s]=value > end > > and it now works.hi, in which file did you add this method? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
jeroen wrote:> Chris wrote: >> Its a bug with rubygems not working with a proxy. I manually added this >> method : >> >> def []=(key,value) >> @hash[key.to_s]=value >> end >> >> and it now works. > > > hi, in which file did you add this method?apparently in /usr/local/lib/ruby/site_ruby/1.8/rubygems/config_file.rb (as a public method) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Apparently Analagous Threads
- undefined method `path' for Gem:Module (NoMethodError)
- Undefined method `store_full_sti_class=' for ActiveRecord::Base:Class (NoMethodError)
- keep getting "undefined method `map' for nil:NilClass (NoMethodError) " in new server
- HELP: NoMethodError (undefined method `stringify_keys!'' for
- Rails 3 -NoMethodError (undefined method `original_filename