I’ll introduce how I solved a problem where rails s aborted after recreating (delete → create) an rvm gemset in a Ruby on Rails project, then running bundle install to install gems.
$ rails s
/Users/your_username/.rvm/gems/ruby-1.9.3-p286@myapp/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle: [BUG] Segmentation fault
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
zsh: abort rails s
$ rvm get head && rvm reload && rvm repair all
That’s all from the Gemba where I solved this by updating RVM to the latest version.