Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer (GitLab) <jacob@gitlab.com>2017-08-31 16:53:27 +0300
committerJacob Vosmaer (GitLab) <jacob@gitlab.com>2017-08-31 16:53:27 +0300
commitee47129ffd082384f465a4a6365d1ffeae7b7c53 (patch)
tree25dbfe3abbb9df5c765b7146efb11d671ffe9001 /ruby/bin/ruby-cd
parentaf66130f437865ef5a9a6dd0c1b1233bcaf50540 (diff)
parentc78b640c2b33f047270594d40c38462557429670 (diff)
Merge branch 'git-linguist' into 'master'
Use git-linguist to implement CommitLanguages See merge request !316
Diffstat (limited to 'ruby/bin/ruby-cd')
-rwxr-xr-xruby/bin/ruby-cd6
1 files changed, 6 insertions, 0 deletions
diff --git a/ruby/bin/ruby-cd b/ruby/bin/ruby-cd
new file mode 100755
index 000000000..9dfb91e84
--- /dev/null
+++ b/ruby/bin/ruby-cd
@@ -0,0 +1,6 @@
+#!/usr/bin/env ruby
+
+# This script lets you run `bundle exec` in one directory, and then changes into another.
+
+Dir.chdir(ARGV.shift)
+exec(*ARGV)