Skip to content

Commit

Permalink
Update bin/rails
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdarde committed Sep 12, 2018
1 parent 58cabea commit 71ea959
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions bin/rails
@@ -1,13 +1,13 @@
#!/usr/bin/env ruby
# This command will automatically be run when you run "rails" with Rails 4 gems installed from the root of your application.
# This command will automatically be run when you run "rails" with Rails gems
# installed from the root of your application.

ENGINE_ROOT = File.expand_path('../..', __FILE__)
ENGINE_PATH = File.expand_path('../../lib/tolk/engine', __FILE__)
ENGINE_ROOT = File.expand_path('..', __dir__)
ENGINE_PATH = File.expand_path('../lib/tolk/engine', __dir__)
APP_PATH = File.expand_path('../test/dummy/config/application', __dir__)

puts "ENGINE_ROOT: #{ENGINE_ROOT}"
puts "ENGINE_PATH: #{ENGINE_PATH}"
# Set up gems listed in the Gemfile.
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])

require 'rails/all'
Expand Down

0 comments on commit 71ea959

Please sign in to comment.