Skip to content

Instantly share code, notes, and snippets.

@pcreux
Created May 20, 2010 00:11
Show Gist options
  • Save pcreux/407026 to your computer and use it in GitHub Desktop.
Save pcreux/407026 to your computer and use it in GitHub Desktop.
script/runner for Rails 3
#!/usr/bin/env ruby
# script/runner for rails 3.0
APP_PATH = File.expand_path('../../config/environment', __FILE__)
require 'rubygems'
require 'rails/commands/runner'
@krongk
Copy link

krongk commented Mar 5, 2015

cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment