From 56ba164326dd2d46ae819f75f6ef5dc11bb1dba7 Mon Sep 17 00:00:00 2001 From: Xavier J Date: Thu, 24 Dec 2015 09:11:53 +0100 Subject: [PATCH] Delete bin on Git --- bin/rails | 8 -------- bin/rake | 8 -------- bin/spring | 15 --------------- 3 files changed, 31 deletions(-) delete mode 100755 bin/rails delete mode 100755 bin/rake delete mode 100755 bin/spring diff --git a/bin/rails b/bin/rails deleted file mode 100755 index 4d608edeb..000000000 --- a/bin/rails +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env ruby -begin - load File.expand_path("../spring", __FILE__) -rescue LoadError -end -APP_PATH = File.expand_path('../../config/application', __FILE__) -require_relative '../config/boot' -require 'rails/commands' diff --git a/bin/rake b/bin/rake deleted file mode 100755 index 8017a0271..000000000 --- a/bin/rake +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env ruby -begin - load File.expand_path("../spring", __FILE__) -rescue LoadError -end -require_relative '../config/boot' -require 'rake' -Rake.application.run diff --git a/bin/spring b/bin/spring deleted file mode 100755 index 7b45d374f..000000000 --- a/bin/spring +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env ruby - -# This file loads spring without using Bundler, in order to be fast. -# It gets overwritten when you run the `spring binstub` command. - -unless defined?(Spring) - require "rubygems" - require "bundler" - - if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m) - Gem.paths = { "GEM_PATH" => [Bundler.bundle_path.to_s, *Gem.path].uniq } - gem "spring", match[1] - require "spring/binstub" - end -end