Skip to content

Instantly share code, notes, and snippets.

View mariovisic's full-sized avatar

Mario Visic mariovisic

View GitHub Profile
t = Thread.new do
pid = fork { raise 'nope' }
Process.waitpid(pid)
end
t.join
SSOServer::Application.config.session_store :active_record_store
ActiveRecord::SessionStore.session_class = UserSessionStore
@mariovisic
mariovisic / 0-readme.md
Created November 15, 2012 05:35 — forked from chendo/0-readme.md
Fast require patch for 1.9.3-p327
@mariovisic
mariovisic / Readme.md
Created November 7, 2012 10:10 — forked from jfirebaugh/gist:4007524
Installing Ruby 2.0.0-preview1 with RVM on OS X

Ruby 2.0.0-preview1 OSX RVM Install Instructions

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
@mariovisic
mariovisic / graphite.md
Created September 24, 2012 01:09 — forked from caged/graphite.md
Installing Graphite on OS X Lion