Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 18 lines (13 sloc) 0.696 kb
#!/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_PATH = File.expand_path('../..', __FILE__)
load File.expand_path('../../test/dummy/script/rails', __FILE__)
# Rails 3.2.2 generates the following instead, but you only get access to:
# - rails generate
# - rails destroy
# I kept the above (for now anyway) so I can get access to rails server, though I will need to test that it works for other commands too.
#ENGINE_ROOT = File.expand_path('../..', __FILE__)
#ENGINE_PATH = File.expand_path('../../lib/browsercms/engine', __FILE__)
#require 'rails/all'
#require 'rails/engine/commands'
Jump to Line
Something went wrong with that request. Please try again.