diff --git a/bin/bundle b/bin/bundle index 7ee2081..66e9889 100755 --- a/bin/bundle +++ b/bin/bundle @@ -1,3 +1,3 @@ -#!/usr/bin/env ruby2.2 +#!/usr/bin/env ruby ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) load Gem.bin_path('bundler', 'bundle') diff --git a/bin/rails b/bin/rails index efa17f8..0138d79 100755 --- a/bin/rails +++ b/bin/rails @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby2.2 +#!/usr/bin/env ruby begin load File.expand_path('../spring', __FILE__) rescue LoadError => e diff --git a/bin/rake b/bin/rake index 3d6d183..d87d5f5 100755 --- a/bin/rake +++ b/bin/rake @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby2.2 +#!/usr/bin/env ruby begin load File.expand_path('../spring', __FILE__) rescue LoadError => e diff --git a/bin/setup b/bin/setup index a242dbb..acdb2c1 100755 --- a/bin/setup +++ b/bin/setup @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby2.2 +#!/usr/bin/env ruby require 'pathname' # path to your application root.