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/rails11
1 files changed, 3 insertions, 8 deletions
diff --git a/bin/rails b/bin/rails index 5badb2f..efc0377 100755 --- a/bin/rails +++ b/bin/rails
@@ -1,9 +1,4 @@
1#!/usr/bin/env ruby 1#!/usr/bin/env ruby
2begin 2APP_PATH = File.expand_path("../config/application", __dir__)
3 load File.expand_path('../spring', __FILE__) 3require_relative "../config/boot"
4rescue LoadError => e 4require "rails/commands"
5 raise unless e.message.include?('spring')
6end
7APP_PATH = File.expand_path('../config/application', __dir__)
8require_relative '../config/boot'
9require 'rails/commands'