Skip to content

Instantly share code, notes, and snippets.

@fedesoria
Created June 29, 2010 23:13
Show Gist options
  • Save fedesoria/457971 to your computer and use it in GitHub Desktop.
Save fedesoria/457971 to your computer and use it in GitHub Desktop.
require(File.dirname(__FILE__) + "/../../config/environment") unless defined?(Rails)
require File.expand_path('../../../config/environment', __FILE__) unless defined?(Rails)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment