summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/open_command.rb
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/commands/open_command.rb6
1 files changed, 6 insertions, 0 deletions
@@ -60,8 +60,14 @@ class Gem::Commands::OpenCommand < Gem::Command
def open_gem name
spec = spec_for name
return false unless spec
open_editor(spec.full_gem_path)
end