This commit is contained in:
Georg Gadinger 2017-03-29 23:03:32 +02:00
parent 3e2e23e17c
commit c84e35ff10
2 changed files with 23 additions and 13 deletions

View File

@ -1,8 +1,17 @@
#!/usr/bin/env ruby #!/usr/bin/env ruby
begin # frozen_string_literal: true
load File.expand_path("../spring", __FILE__) #
rescue LoadError # This file was generated by Bundler.
end #
APP_PATH = File.expand_path('../../config/application', __FILE__) # The application 'rails' is installed as part of a gem, and
require_relative '../config/boot' # this file is here to facilitate running it.
require 'rails/commands' #
require "pathname"
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)
require "rubygems"
require "bundler/setup"
load Gem.bin_path("railties", "rails")

View File

@ -1,4 +1,5 @@
#!/usr/bin/env ruby20 #!/usr/bin/env ruby
# frozen_string_literal: true
# #
# This file was generated by Bundler. # This file was generated by Bundler.
# #
@ -6,11 +7,11 @@
# this file is here to facilitate running it. # this file is here to facilitate running it.
# #
require 'pathname' require "pathname"
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile", ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath) Pathname.new(__FILE__).realpath)
require 'rubygems' require "rubygems"
require 'bundler/setup' require "bundler/setup"
load Gem.bin_path('rspec-core', 'rspec') load Gem.bin_path("rspec-core", "rspec")