Skip to content

Instantly share code, notes, and snippets.

@thewoolleyman
Created February 8, 2010 03:51
Show Gist options
  • Select an option

  • Save thewoolleyman/297861 to your computer and use it in GitHub Desktop.

Select an option

Save thewoolleyman/297861 to your computer and use it in GitHub Desktop.
Hoe failed with a segfault, then worked after I cd to home dir, then fails again after I change back to original dir. I did rvm update --head about two days ago (is there a way to display the commit id I have installed?)
chadmac:geminstaller woolley$ gem install hoe
/Users/woolley/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:245: [BUG] Segmentation fault
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin9.8.0]
Abort trap
chadmac:geminstaller woolley$ rvm -v
chadmac:geminstaller woolley$ cd
chadmac:~ woolley$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin9.8.0]
chadmac:~ woolley$ rvm --version
rvm 0.1.9 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
chadmac:~ woolley$ gem install hoe
========================================================================
Thanks for installing Gemcutter! You can now run:
gem push publish your gems for the world to use and enjoy
gem owner allow/disallow others to push to your gems
gem webhook register urls to be pinged when gems are pushed
========================================================================
Successfully installed json_pure-1.2.0
Successfully installed rubyforge-2.0.3
Successfully installed gemcutter-0.3.0
Successfully installed hoe-2.5.0
4 gems installed
Installing ri documentation for json_pure-1.2.0...
Installing ri documentation for rubyforge-2.0.3...
Installing ri documentation for gemcutter-0.3.0...
Installing ri documentation for hoe-2.5.0...
Installing RDoc documentation for json_pure-1.2.0...
Installing RDoc documentation for rubyforge-2.0.3...
Installing RDoc documentation for gemcutter-0.3.0...
Installing RDoc documentation for hoe-2.5.0...
chadmac:~ woolley$ cd -
/Users/woolley/workspace/geminstaller
chadmac:geminstaller woolley$ gem install hoe
/Users/woolley/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:245: [BUG] Segmentation fault
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin9.8.0]
Abort trap
************ UPDATE
Here's another example of a segfault on diff-lcs, and it happened in the home dir. It happened when it was installed via geminstaller, but that is just calling the rubygems api under the covers:
chadmac:geminstaller woolley$ cd
chadmac:~ woolley$ geminstaller -gall -rall -c ~/workspace/geminstaller/geminstaller.yml
Found GemInstaller config file at: /Users/woolley/workspace/geminstaller/geminstaller.yml
GemInstaller is verifying gem installation: diff-lcs >= 1.1.2, hoe >= 2.3.2, hoe-seattlerb >= 1.2.0, open4 >= 0.9.6, rake >= 0.7.1, rcov >= 0.7.0.1, RedCloth = 4.0.4, rspec >= 1.2.8, cmdparse >= 2.0.2, ruby-debug >= 0.9.3, webgen = 0.5.5
'gem list diff-lcs --remote --details --all'
/Users/woolley/.rvm/rubies/ruby-1.8.7-p249/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:245: [BUG] Segmentation fault
ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-darwin9.8.0]
Abort trap
chadmac:~ woolley$ gem install diff-lcs
Successfully installed diff-lcs-1.1.2
1 gem installed
Installing ri documentation for diff-lcs-1.1.2...
Installing RDoc documentation for diff-lcs-1.1.2...
********** UPDATE
Wayne said to try this:
wayneeseguin: rvm update --head ; rvm reset ; open new shell
wayneeseguin: that should clear things out
wayneeseguin: and make sure that you have all the latest bugfixes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment