mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-16 19:16:49 +00:00
The new `require_relative` command is much shorter and easier to read
then the previous:
-require File.expand_path('../config/application', __FILE__)
+require_relative 'config/application'
7 lines
272 B
Ruby
Executable File
7 lines
272 B
Ruby
Executable File
#!/usr/bin/env ruby
|
|
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
|
|
|
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
|
require_relative '../config/boot'
|
|
require 'rails/commands'
|