Skip to content

Instantly share code, notes, and snippets.

@knowuh
Created September 1, 2011 18:31
Show Gist options
  • Save knowuh/1186878 to your computer and use it in GitHub Desktop.
Save knowuh/1186878 to your computer and use it in GitHub Desktop.
Bundler.require(:default)
JRUBY = defined? RUBY_ENGINE && RUBY_ENGINE == 'jruby'
RAILS_ROOT = File.dirname(File.dirname(File.expand_path(__FILE__)))
APP_DIR_NAME = File.basename(RAILS_ROOT)
$LOAD_PATH.unshift(File.join(RAILS_ROOT,"lib"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment