Permalink
Browse files

fix exec params for ruby 1.8.7

  • Loading branch information...
quozd committed Feb 4, 2014
1 parent f2ed893 commit 5128f38ca51e437edb7925060625aea011b051cf
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rubygems/commands/open_command.rb
@@ -63,7 +63,7 @@ def open_gem name
def open_editor path
Dir.chdir(path) do
pid = fork do
- args = (*@editor.split(/\s+/) + [path]).join(' ')
+ args = (@editor.split(/\s+/) + [path]).join(' ')
exec(args)
end
end

0 comments on commit 5128f38

Please sign in to comment.