bin/release in fcom-0.5.0 vs bin/release in fcom-0.5.1
- old
+ new
@@ -6,12 +6,11 @@
#
# The application 'release' is installed as part of a gem, and
# this file is here to facilitate running it.
#
-require 'pathname'
-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', Pathname.new(__FILE__).realpath)
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
bundle_binstub = File.expand_path('bundle', __dir__)
if File.file?(bundle_binstub)
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
@@ -23,6 +22,6 @@
end
require 'rubygems'
require 'bundler/setup'
-load Gem.bin_path('release_assistant', 'release')
+load Gem.bin_path('runger_release_assistant', 'release')