Skip to content

Instantly share code, notes, and snippets.

@rodrigomaia
Created December 12, 2012 16:20
Show Gist options
  • Select an option

  • Save rodrigomaia/4269207 to your computer and use it in GitHub Desktop.

Select an option

Save rodrigomaia/4269207 to your computer and use it in GitHub Desktop.
my_engine/script/rails
#!/usr/bin/env ruby
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
ENGINE_ROOT = File.expand_path('../..', __FILE__)
ENGINE_PATH = File.expand_path('../../lib/atlas_ag/engine', __FILE__)
require 'rails/all'
require 'rails/engine/commands'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment