Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix exec params for ruby 1.8.7

  • Loading branch information...
commit f2ed8938d7a7593088fa15e500069c0f8c3f512f 1 parent c4b2a36
@quozd quozd authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rubygems/commands/open_command.rb
View
4 lib/rubygems/commands/open_command.rb
@@ -63,8 +63,8 @@ def open_gem name
def open_editor path
Dir.chdir(path) do
pid = fork do
- args = *path
- exec(*@editor.split(/\s+/) + args)
+ args = (*@editor.split(/\s+/) + [path]).join(' ')
+ exec(args)
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.