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