brew doctor
First, make sure that you have the most recent rvm. Several bugs with 2.0.0-preview1 have recently been fixed.
Second, the openssl that comes with MacOS is too old for Ruby 2.0. You need to install a newer one with homebrew or the rvm pkg command.
brew update
Try out the fast require patch from http://bugs.ruby-lang.org/issues/7158 on Ruby 1.9.3-p327
- rbenv
- ruby-build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSOServer::Application.config.session_store :active_record_store | |
ActiveRecord::SessionStore.session_class = UserSessionStore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t = Thread.new do | |
pid = fork { raise 'nope' } | |
Process.waitpid(pid) | |
end | |
t.join |