Class: Command::GemInstallToVendorCommand
Instance Attribute Summary
Attributes inherited from BaseCommand
#options, #rvm_prefix
Instance Method Summary
collapse
Methods inherited from BaseCommand
#execute, #initialize
Instance Method Details
#cancel ⇒ Object
3
4
5
|
# File 'lib/command/gem_install_to_vendor_command.rb', line 3
def cancel
Command::GemUninstallCommand.new(rvm_prefix, { gem_name: options[:gem_name] }).execute
end
|
#name ⇒ Object
7
8
9
|
# File 'lib/command/gem_install_to_vendor_command.rb', line 7
def name
clean "cp pkg/* #{ options[:project_path] }/vendor/cache && cd #{ options[:project_path] } && #{ rvm_prefix } bundle install --local"
end
|