Skip to content

Instantly share code, notes, and snippets.

@kenmazaika
Created February 22, 2012 14:49
Show Gist options
  • Save kenmazaika/1885404 to your computer and use it in GitHub Desktop.
Save kenmazaika/1885404 to your computer and use it in GitHub Desktop.
Optionally using Turn with Bundler
# config/initializers/turn.rb
# this file is ignored by the gitignore file
if(Rails.env.test? || Rails.env.integration?)
files = [
'/Users/kmazaika/.rvm/gems/ruby-1.9.3-p0@gem_set_name/gems/minitest-2.8.1/lib/minitest/autorun.rb',
'/Users/kmazaika/.rvm/gems/ruby-1.9.3-p0@gem_set_name/gems/turn-0.9.3.ken/lib/turn.rb'
]
files.each do |file|
$:.unshift File.dirname(file)
require file
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment