Class: Gel::Command::Update
- Inherits:
-
Gel::Command
- Object
- Gel::Command
- Gel::Command::Update
- Defined in:
- lib/gel/command/update.rb
Instance Attribute Summary
Attributes inherited from Gel::Command
Instance Method Summary collapse
Methods inherited from Gel::Command
extract_word, handle_error, run
Instance Method Details
#run(command_line) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/gel/command/update.rb', line 4 def run(command_line) # Mega update mode command_line = ["--major"] if command_line.empty? Gel::Command::Lock.new.run(command_line) Gel::Environment.activate(install: true, output: $stderr) end |