diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-16 18:46:55 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-16 18:46:55 -0400 |
| commit | 5e62e771bf14f58dd1622d2e3631309caa201349 (patch) | |
| tree | 76143baae833a4cfe0e05cefb18b5a31d15b74e9 /bin | |
| download | pokeviewer-5e62e771bf14f58dd1622d2e3631309caa201349.tar.gz pokeviewer-5e62e771bf14f58dd1622d2e3631309caa201349.tar.bz2 pokeviewer-5e62e771bf14f58dd1622d2e3631309caa201349.zip | |
Initial commit
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/rails | 14 |
1 files changed, 14 insertions, 0 deletions
| diff --git a/bin/rails b/bin/rails new file mode 100755 index 0000000..73a6f70 --- /dev/null +++ b/bin/rails | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #!/usr/bin/env ruby | ||
| 2 | # This command will automatically be run when you run "rails" with Rails gems | ||
| 3 | # installed from the root of your application. | ||
| 4 | |||
| 5 | ENGINE_ROOT = File.expand_path('../..', __FILE__) | ||
| 6 | ENGINE_PATH = File.expand_path('../../lib/pokeviewer/engine', __FILE__) | ||
| 7 | APP_PATH = File.expand_path('../../test/dummy/config/application', __FILE__) | ||
| 8 | |||
| 9 | # Set up gems listed in the Gemfile. | ||
| 10 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) | ||
| 11 | require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) | ||
| 12 | |||
| 13 | require 'rails/all' | ||
| 14 | require 'rails/engine/commands' | ||
