bundler08 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bundler08.rb +1 -1
- data/lib/bundler08/commands/exec_command.rb +6 -1
- metadata +1 -1
data/lib/bundler08.rb
CHANGED
@@ -1,4 +1,9 @@
|
|
1
|
-
|
1
|
+
combined = [File.basename($0)] + ARGV
|
2
|
+
gem_i = combined.index("gem")
|
3
|
+
exec_i = combined.index("exec")
|
4
|
+
|
5
|
+
if gem_i && exec_i && gem_i < exec_i
|
6
|
+
exec = ARGV.index("exec")
|
2
7
|
$command = ARGV[(exec + 1)..-1]
|
3
8
|
ARGV.replace ARGV[0..exec]
|
4
9
|
end
|