Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agenteo/404492 to your computer and use it in GitHub Desktop.
Save agenteo/404492 to your computer and use it in GitHub Desktop.
### Installing rack or rails was failinf when running 1.8.7-p249 via RVM
### /Users/enricoant/.rvm/rubies/ruby-1.8.7-p248/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:254: warning: getc is obsolete; use STDIN.getc instead
### So i switched to 1.8.7-p248 via RVM
carbon:cos enricoant$ gem install rack -v 1.0.1
/Users/enricoant/.rvm/rubies/ruby-1.8.7-p248/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:254: warning: getc is obsolete; use STDIN.getc instead
^CERROR: Interrupted
carbon:cos enricoant$ gem install rails
/Users/enricoant/.rvm/rubies/ruby-1.8.7-p248/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:254: warning: getc is obsolete; use STDIN.getc instead
^CERROR: Interrupted
carbon:cos enricoant$ vim /Users/enricoant/.rvm/rubies/ruby-1.8.7-p248/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:254
### Here I decided to jump back to 249 and see if rspec could help...
carbon:cos enricoant$ rvm use 1.8.7-p249
Using ruby 1.8.7 p249
carbon:cos enricoant$ gem install rspec
**************************************************
Thank you for installing rspec-1.3.0
Please be sure to read History.rdoc and Upgrade.rdoc
for useful information about this release.
**************************************************
Successfully installed rspec-1.3.0
1 gem installed
Installing ri documentation for rspec-1.3.0...
Installing RDoc documentation for rspec-1.3.0...
carbon:cos enricoant$ gem install rails
Successfully installed activesupport-2.3.5
Successfully installed activerecord-2.3.5
Successfully installed rack-1.0.1
Successfully installed actionpack-2.3.5
Successfully installed actionmailer-2.3.5
Successfully installed activeresource-2.3.5
Successfully installed rails-2.3.5
7 gems installed
Installing ri documentation for activesupport-2.3.5...
/Users/enricoant/.rvm/gems/ruby-1.8.7-p249/gems/rdoc-2.5.8/lib/rdoc/ri/store.rb:224: [BUG] Segmentation fault
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin9.8.0]
### And it did :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment