diff options
Diffstat (limited to 'ruby/bin')
-rwxr-xr-x | ruby/bin/ruby-cd | 6 |
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) |