summaryrefslogtreecommitdiff
path: root/bin/rspec
diff options
context:
space:
mode:
authorJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-02-16 11:22:03 +0100
committerJeroen van Baarsen <jeroenvanbaarsen@gmail.com>2014-02-16 11:22:03 +0100
commit99dc9c6fc9880519dddf2cb2557b984792843848 (patch)
tree71cf43cba263420f42b4d4aeaa25a865787745ce /bin/rspec
parent4bbb3d5510d5396eca034a9a8593952b16b15ab5 (diff)
downloadgitlab-ce-99dc9c6fc9880519dddf2cb2557b984792843848.tar.gz
Inserted spring in the binstubs
Now possible to run: `bin/rails` `bin/rspec` `bin/spinach` `bin/rake`
Diffstat (limited to 'bin/rspec')
-rw-r--r--bin/rspec7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/rspec b/bin/rspec
new file mode 100644
index 00000000000..41e37089ac2
--- /dev/null
+++ b/bin/rspec
@@ -0,0 +1,7 @@
+#!/usr/bin/env ruby
+begin
+ load File.expand_path("../spring", __FILE__)
+rescue LoadError
+end
+require 'bundler/setup'
+load Gem.bin_path('rspec', 'rspec')