about summary refs log tree commit diff stats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rails14
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/rails b/bin/rails index 73a6f70..056c65f 100755 --- a/bin/rails +++ b/bin/rails
@@ -2,13 +2,13 @@
2# This command will automatically be run when you run "rails" with Rails gems 2# This command will automatically be run when you run "rails" with Rails gems
3# installed from the root of your application. 3# installed from the root of your application.
4 4
5ENGINE_ROOT = File.expand_path('../..', __FILE__) 5ENGINE_ROOT = File.expand_path("..", __dir__)
6ENGINE_PATH = File.expand_path('../../lib/pokeviewer/engine', __FILE__) 6ENGINE_PATH = File.expand_path("../lib/pokeviewer/engine", __dir__)
7APP_PATH = File.expand_path('../../test/dummy/config/application', __FILE__) 7APP_PATH = File.expand_path("../test/dummy/config/application", __dir__)
8 8
9# Set up gems listed in the Gemfile. 9# Set up gems listed in the Gemfile.
10ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 10ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
11require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) 11require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
12 12
13require 'rails/all' 13require "rails/all"
14require 'rails/engine/commands' 14require "rails/engine/commands"