diff options
| author | Robert | 2017-06-30 08:02:34 +0200 |
|---|---|---|
| committer | Robert | 2017-06-30 08:02:34 +0200 |
| commit | e7004f4af37b5f286cd2566e285cde5ab56bd2cb (patch) | |
| tree | 43671471258b5e8e0368af8500485c79ff7c7154 | |
| parent | baaab5943d7102a7f86c000b84644d2fdbabdac7 (diff) | |
| download | chouette-core-e7004f4af37b5f286cd2566e285cde5ab56bd2cb.tar.bz2 | |
deleted binstubs because of spring problems, added /bin to .gitignore
| -rwxr-xr-x | bin/bundle | 3 | ||||
| -rwxr-xr-x | bin/rails | 9 | ||||
| -rwxr-xr-x | bin/rake | 9 | ||||
| -rwxr-xr-x | bin/spring | 17 |
4 files changed, 0 insertions, 38 deletions
diff --git a/bin/bundle b/bin/bundle deleted file mode 100755 index 66e9889e8..000000000 --- a/bin/bundle +++ /dev/null @@ -1,3 +0,0 @@ -#!/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 deleted file mode 100755 index f2b0313dd..000000000 --- a/bin/rails +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env ruby -begin - load File.expand_path('../spring', __FILE__) -rescue LoadError => e - raise unless e.message.include?('spring') -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 d87d5f578..000000000 --- a/bin/rake +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env ruby -begin - load File.expand_path('../spring', __FILE__) -rescue LoadError => e - raise unless e.message.include?('spring') -end -require_relative '../config/boot' -require 'rake' -Rake.application.run diff --git a/bin/spring b/bin/spring deleted file mode 100755 index fb2ec2ebb..000000000 --- a/bin/spring +++ /dev/null @@ -1,17 +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' - - lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read) - spring = lockfile.specs.detect { |spec| spec.name == "spring" } - if spring - Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path - gem 'spring', spring.version - require 'spring/binstub' - end -end |
