gems wont install

serialhex's Avatar

serialhex

11 Nov, 2010 08:00 PM

hey, so i just tried to install gems and i got this message:

C:\Users\serialhex\Downloads\rubygems-1.3.7\rubygems-1.3.7>ruby setup.rb
C:/Users/serialhex/Downloads/rubygems-1.3.7/rubygems-1.3.7/lib/rubygems/source_i
ndex.rb:68:in `installed_spec_directories': undefined method `path' for Gem:Modu
le (NoMethodError)
        from C:/Users/serialhex/Downloads/rubygems-1.3.7/rubygems-1.3.7/lib/ruby
gems/source_index.rb:58:in `from_installed_gems'
        from C:/Users/serialhex/Downloads/rubygems-1.3.7/rubygems-1.3.7/lib/ruby
gems.rb:883:in `source_index'
        from C:/Users/serialhex/Downloads/rubygems-1.3.7/rubygems-1.3.7/lib/ruby
gems/gem_path_searcher.rb:81:in `init_gemspecs'
        from C:/Users/serialhex/Downloads/rubygems-1.3.7/rubygems-1.3.7/lib/ruby
gems/gem_path_searcher.rb:13:in `initialize'
        from C:/Users/serialhex/Downloads/rubygems-1.3.7/rubygems-1.3.7/lib/ruby
gems.rb:841:in `new'
        from C:/Users/serialhex/Downloads/rubygems-1.3.7/rubygems-1.3.7/lib/ruby
gems.rb:841:in `block in searcher'
        from <internal:prelude>:10:in `synchronize'
        from C:/Users/serialhex/Downloads/rubygems-1.3.7/rubygems-1.3.7/lib/ruby
gems.rb:840:in `searcher'
        from C:/Users/serialhex/Downloads/rubygems-1.3.7/rubygems-1.3.7/lib/ruby
gems.rb:479:in `find_files'
        from C:/Users/serialhex/Downloads/rubygems-1.3.7/rubygems-1.3.7/lib/ruby
gems.rb:983:in `load_plugins'
        from C:/Users/serialhex/Downloads/rubygems-1.3.7/rubygems-1.3.7/lib/ruby
gems.rb:1139:in `<top (required)>'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from setup.rb:24:in `<main>'

typing 'ruby setup.rb --help' give the same message. whats up?

  1. 1 Posted by serialhex on 11 Nov, 2010 08:14 PM

    serialhex's Avatar

    duh! gems is already installed!! XP

  2. Support Staff 2 Posted by Nick Quaranto on 16 Nov, 2010 01:28 AM

    Nick Quaranto's Avatar

    This doesn't seem right. Can you instead use RubyInstaller?

    http://rubyinstaller.org

  3. 3 Posted by serialhex on 16 Nov, 2010 01:52 AM

    serialhex's Avatar

    yeah, i dodnt realize the installer has gems in it... i'm retarted :P thx anyway

  4. Nick Quaranto closed this discussion on 16 Nov, 2010 03:27 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

23 Oct, 2014 05:37 PM
21 Oct, 2014 10:47 AM
18 Oct, 2014 08:39 PM
16 Oct, 2014 12:41 PM
06 Oct, 2014 02:30 PM