2013-03-21 04:30:20 +08:00
|
|
|
#!/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.
|
|
|
|
|
2014-09-09 05:44:25 +08:00
|
|
|
# added by instructure:
|
|
|
|
# resolve any symlinks in the file path, to avoid double-require issues
|
|
|
|
require 'pathname'
|
|
|
|
expanded_path = Pathname.new(__FILE__).realpath
|
|
|
|
|
|
|
|
APP_PATH = File.expand_path('../../config/application', expanded_path)
|
|
|
|
require File.expand_path('../../config/boot', expanded_path)
|
2013-03-21 04:30:20 +08:00
|
|
|
require 'rails/commands'
|