ignore my previous post, i just built ruby 1.9.2-p0 from source and
when i type gem -v i get the following error ??? how do I get rubygems
working so I can install rails 3, etc.
yadav@vision:~$ ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]
yadav@vision:~$ uname -a
Linux vision 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:24:04 UTC
2010 i686 GNU/Linux
yadav@vision:~$ gem -v
/usr/local/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:68:in
`installed_spec_directories': undefined method `path' for Gem:Module
(NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:
58:in `from_installed_gems'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:881:in
`source_index'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/
gem_path_searcher.rb:81:in `init_gemspecs'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/
gem_path_searcher.rb:13:in `initialize'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:839:in `new'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:839:in `block in
searcher'
from <internal:prelude>:10:in `synchronize'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:838:in
`searcher'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:478:in
`find_files'
from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems.rb:1103:in `<top
(required)>'
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from /usr/local/bin/gem:8:in `<main>'
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment