Method: Gem::Commands::CurrentPathCommand#execute
- Defined in:
- lib/rubygems/commands/current_path_command.rb
#execute ⇒ Object
50 51 52 53 54 55 56 |
# File 'lib/rubygems/commands/current_path_command.rb', line 50 def execute path = CurrentGem.path_for(get_one_gem_name) return unless path && File.exist?(path) path = File.readlink(path) if [:resolve] say path end |