Skip to content

Instantly share code, notes, and snippets.

@guilherme
Created February 1, 2013 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guilherme/4690921 to your computer and use it in GitHub Desktop.
Save guilherme/4690921 to your computer and use it in GitHub Desktop.
load up the rails environment on a script
#!/usr/bin/env ruby
require File.expand_path('../config/environment', __FILE__)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment