Problem with installing rails -pre

Peter Bell's Avatar

Peter Bell

23 May, 2011 09:22 PM

Anyone running into issues with this?

  • I'm using rvm and have updated rvm to the latest version (1.6.13)
  • I created a clean gemset (using Ruby 1.9.2-head - p208)
  • I then tried "gem install rails --pre" I got:
    ERROR: Could not find a valid gem 'rails' (>= 0) in any repository
    ERROR: Possible alternatives: rails

  • I could run "gem install rails" successfully so I have access to the internet and it isn't an issue with a port being blocked

  • I then ran a rvm gemset empty and confirmed with a gem list that there were now no local gems.
  • I then retried "gen install rails --pre" and got the same error.

Any thoughts much appreciated!

Any ideas on how I can get around this? Any thoughts appreciated!

Peter

  1. 1 Posted by Peter Bell on 23 May, 2011 09:28 PM

    Peter Bell's Avatar

    I even tried downloading the gem from http://rubygems.org/gems/rails and then in the directory containing the gem running "gem install rails-3.1.0.rc1.gem" but then I got:

    "Unable to resolve dependencies: rails requires activesupport (= 3.1.0.rc1), actionpack (= 3.1.0.rc1), activerecord (= 3.1.0.rc1), activeresource (= 3.1.0.rc1), actionmailer (= 3.1.0.rc1), railties (= 3.1.0.rc1), bundler (~> 1.0)"

    so it couldn't find the dependencies :(

  2. Support Staff 2 Posted by Luis Lavena on 23 May, 2011 09:32 PM

    Luis Lavena's Avatar

    Hello Peter,

    Would you mind providing the output of gem install command with debug flags?

    gem install rails --pre --debug -V

    Thank you.

  3. 3 Posted by Peter Bell on 23 May, 2011 09:39 PM

    Peter Bell's Avatar

    Sure. Here's the entire console output:

    Peter-Bells-MacBook-Pro:~ peterbell$ rvm use 1.9.2-head@skinnio-web
    Using /Users/peterbell/.rvm/gems/ruby-1.9.2-head with gemset skinnio-web

    Peter-Bells-MacBook-Pro:~ peterbell$ gem install rails --pre --debug -V

    NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
    Gem::Specification#default_executable= called from /Users/peterbell/.rvm/gems/ruby-1.9.2-head@global/specifications/rake-0.9.0.gemspec:10.
    Exception NameError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:177 - uninitialized constant Gem::Commands::InstallCommand ExceptionLoadError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36 - no such file to load -- psych
    NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
    Gem::Specification#default_executable= called from /Users/peterbell/.rvm/gems/ruby-1.9.2-head@global/specifications/rake-0.9.0.gemspec:10.
    Exception NoMethodError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1463 - undefined methodto_ary' for #<Gem::Specification name=rake version=0.9.0>
    Exception LoadError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:62 - no such file to load -- psych GET http://gems.rubyforge.org/prerelease_specs.4.8.gz ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    302 Found
    GET http://production.s3.rubygems.org/prerelease_specs.4.8.gz
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block 304 Not Modified GET http://gems.rubyonrails.org/prerelease_specs.4.8.gz ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    404 Not Found
    Exception Gem::RemoteFetcher::FetchError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:215 - bad response Not Found 404 (http://gems.rubyonrails.org/prerelease_specs.4.8.gz) ExceptionGem::RemoteFetcher::FetchError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:235 - bad response Not Found 404 (http://gems.rubyonrails.org/prerelease_specs.4.8.gz)
    Error fetching remote data: bad response Not Found 404 (http://gems.rubyonrails.org/prerelease_specs.4.8.gz)
    Falling back to local-only install
    Exception Gem::GemNotFoundException' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:237 - Could not find a valid gem 'rails' (>= 0) locally or in a repository ERROR: Could not find a valid gem 'rails' (>= 0) in any repository GET http://gems.rubyforge.org/latest_specs.4.8.gz ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    302 Found
    GET http://production.s3.rubygems.org/latest_specs.4.8.gz
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block 304 Not Modified GET http://gems.rubyonrails.org/latest_specs.4.8.gz ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    200 OK
    Exception `Errno::EEXIST' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /Users/peterbell/.gem/specs/gems.rubyonrails.org%80
    ERROR: Possible alternatives: rails

  4. 4 Posted by Peter Bell on 23 May, 2011 09:49 PM

    Peter Bell's Avatar

    Hmm, not sure if my comment went through. if not, here's the response I got . . .

    Last login: Mon May 23 17:37:38 on ttys001
    Peter-Bells-MacBook-Pro:~ peterbell$ rvm use 1.9.2-head@skinnio-web
    Using /Users/peterbell/.rvm/gems/ruby-1.9.2-head with gemset skinnio-web
    Peter-Bells-MacBook-Pro:~ peterbell$ gem install rails --pre --debug -V
    NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
    Gem::Specification#default_executable= called from /Users/peterbell/.rvm/gems/ruby-1.9.2-head@global/specifications/rake-0.9.0.gemspec:10.
    Exception NameError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:177 - uninitialized constant Gem::Commands::InstallCommand ExceptionLoadError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36 - no such file to load -- psych
    NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
    Gem::Specification#default_executable= called from /Users/peterbell/.rvm/gems/ruby-1.9.2-head@global/specifications/rake-0.9.0.gemspec:10.
    Exception NoMethodError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1463 - undefined methodto_ary' for #<Gem::Specification name=rake version=0.9.0>
    Exception LoadError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:62 - no such file to load -- psych GET http://gems.rubyforge.org/prerelease_specs.4.8.gz ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    302 Found
    GET http://production.s3.rubygems.org/prerelease_specs.4.8.gz
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block 200 OK ExceptionErrno::EEXIST' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /Users/peterbell/.gem/specs/gems.rubyforge.org%80
    GET http://gems.rubyonrails.org/prerelease_specs.4.8.gz
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block 404 Not Found ExceptionGem::RemoteFetcher::FetchError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:215 - bad response Not Found 404 (http://gems.rubyonrails.org/prerelease_specs.4.8.gz)
    Exception Gem::RemoteFetcher::FetchError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/remote_fetcher.rb:235 - bad response Not Found 404 (http://gems.rubyonrails.org/prerelease_specs.4.8.gz) Error fetching remote data: bad response Not Found 404 (http://gems.rubyonrails.org/prerelease_specs.4.8.gz) Falling back to local-only install ExceptionGem::GemNotFoundException' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/dependency_installer.rb:237 - Could not find a valid gem 'rails' (>= 0) locally or in a repository
    ERROR: Could not find a valid gem 'rails' (>= 0) in any repository
    GET http://gems.rubyforge.org/latest_specs.4.8.gz
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block 302 Found GET http://production.s3.rubygems.org/latest_specs.4.8.gz ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block 200 OK ExceptionErrno::EEXIST' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /Users/peterbell/.gem/specs/gems.rubyforge.org%80
    GET http://gems.rubyonrails.org/latest_specs.4.8.gz
    Exception Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block 200 OK ExceptionErrno::EEXIST' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /Users/peterbell/.gem/specs/gems.rubyonrails.org%80
    ERROR: Possible alternatives: rails
    Peter-Bells-MacBook-Pro:~ peterbell$

  5. 5 Posted by Peter Bell on 23 May, 2011 10:12 PM

    Peter Bell's Avatar

    Just confirming if my posts went through OK? Don't want to keep posting, but if the stack traces were too long and not saved, I want to let you know I have the info to share!

  6. 6 Posted by Peter Bell on 23 May, 2011 10:13 PM

    Peter Bell's Avatar

    Hmm, that went through, stack traces didn't. Here's a partial trace. Let me know if it's enough info:

    rvm use 1.9.2-head@skinnio-web
    Using /Users/peterbell/.rvm/gems/ruby-1.9.2-head with gemset skinnio-web
    Peter-Bells-MacBook-Pro:~ peterbell$ gem install rails --pre --debug -V
    NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
    Gem::Specification#default_executable= called from /Users/peterbell/.rvm/gems/ruby-1.9.2-head@global/specifications/rake-0.9.0.gemspec:10.
    Exception NameError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:177 - uninitialized constant Gem::Commands::InstallCommand ExceptionLoadError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36 - no such file to load -- psych
    NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or after 2011-10-01.
    Gem::Specification#default_executable= called from /Users/peterbell/.rvm/gems/ruby-1.9.2-head@global/specifications/rake-0.9.0.gemspec:10.
    Exception NoMethodError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1463 - undefined methodto_ary' for #<Gem::Specification name=rake version=0.9.0>
    Exception LoadError' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:62 - no such file to load -- psych GET http://gems.rubyforge.org/prerelease_specs.4.8.gz ExceptionErrno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block
    302 Found
    GET http://production.s3.rubygems.org/prerelease_specs.4.8.gz
    Exception `Errno::EAGAIN' at /Users/peterbell/.rvm/rubies/ruby-1.9.2-head/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block

  7. Support Staff 7 Posted by Luis Lavena on 23 May, 2011 10:16 PM

    Luis Lavena's Avatar

    You could use Pastie or Gist to provide the complete backtrace.

  8. 8 Posted by Peter Bell on 23 May, 2011 10:25 PM

    Peter Bell's Avatar
  9. Support Staff 9 Posted by Luis Lavena on 23 May, 2011 10:33 PM

    Luis Lavena's Avatar

    So, around line 41, seems is not able to fetch properly the remove information.

    Doing a simple curl/wget, I get the same error, 404:

    C:\Users\Luis\Desktop>wget http://gems.rubyonrails.org/prerelease_specs.4.8.gz
    SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc
    syswgetrc = C:\Users\Luis\Tools\Unix/etc/wgetrc
    --2011-05-23 18:32:28--  http://gems.rubyonrails.org/prerelease_specs.4.8.gz
    Resolving gems.rubyonrails.org... 208.75.86.244
    Connecting to gems.rubyonrails.org|208.75.86.244|:80... connected.
    HTTP request sent, awaiting response... 404 Not Found
    2011-05-23 18:32:29 ERROR 404: Not Found.
    

    Adding Nick to the thread!

  10. 10 Posted by Peter Bell on 24 May, 2011 02:23 PM

    Peter Bell's Avatar

    OK, bunch of issues. To resolve, I:
    - Moved from 1.9.2-head to 1.9.2-p180 as I've heard head is not guaranteed stable - Moved from rake 0.9.0 to 0.8.7 due to the known rake issue with 0.9.0 - Moved gem from latest to 1.6.2 to get rid of the deprecation errors - gem sources has http://gems.rubyonrails.com twice so I ran "gem sources -r http://gems.rubyonrails.com" to fix that - I ran "gem sources -a http://gems.github.com" to add github as a source - Then ran "gem sources -u" Then I was able to "gem install rails --pre". Got the encoding issue with the activerecord docs, but that's a known issue mentioned on the original rc1 posting.

    Hope something above will help someone else with a similar problem.

  11. Support Staff 11 Posted by Luis Lavena on 24 May, 2011 02:25 PM

    Luis Lavena's Avatar

    Perfect.

    Instead of the long list I'm going to consider that the removal of gems.rubyonrails.org did help.

    Closing this out.

  12. Luis Lavena closed this discussion on 24 May, 2011 02:25 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

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