Failing rspec prerelease install

Oleg Dashevskii's Avatar

Oleg Dashevskii

01 May, 2011 07:12 AM

~% gem install rspec --pre
ERROR:  While executing gem ... (NoMethodError)
    undefined method `call' for nil:NilClass

~% gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.4.2
  - RUBY VERSION: 1.8.7 (2011-02-18 patchlevel 334) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/od/.rvm/gems/ree-1.8.7-2011.03
  - RUBY EXECUTABLE: /home/od/.rvm/rubies/ree-1.8.7-2011.03/bin/ruby
  - EXECUTABLE DIRECTORY: /home/od/.rvm/gems/ree-1.8.7-2011.03/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /home/od/.rvm/gems/ree-1.8.7-2011.03
     - /home/od/.rvm/gems/ree-1.8.7-2011.03@global
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gem" => "--no-ri --no-rdoc"
     - "gemcutter_key" => "********************************"
     - :sources => ["http://rubygems.org"]
  - REMOTE SOURCES:
     - http://rubygems.org
  1. 2 Posted by Oleg Dashevskii on 01 May, 2011 07:14 AM

    Oleg Dashevskii's Avatar
  2. 3 Posted by Indirect on 01 May, 2011 07:28 AM

    Indirect's Avatar

    I tracked this down to an issue with the Rspec 2.6.0.rc2 gemspec. Rubygems 1.3.7 simply can't handle the lines that look like this:

    s.add_runtime_dependency(%q<rspec-core>, ["#<YAML::Syck::DefaultKey:0x1069613b8> 2.6.0.rc3"])
    

    When it tries to parse that gemspec, Rubygems 1.3.7 just explodes.

  3. Support Staff 4 Posted by Nick Quaranto on 08 May, 2011 07:39 PM

    Nick Quaranto's Avatar

    I think this is fixed in a latest version of the rspec betas...if not please open this back up!

  4. Nick Quaranto closed this discussion on 08 May, 2011 07:39 PM.

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