Class: Shred::Commands::RubyDeps

Inherits:
Base
  • Object
show all
Defined in:
lib/shred/commands/ruby_deps.rb

Instance Attribute Summary

Attributes inherited from Base

#command_config, #command_name, #console

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Shred::Commands::Base

Instance Method Details

#installObject



7
8
9
10
11
12
13
# File 'lib/shred/commands/ruby_deps.rb', line 7

def install
  run_shell_command(ShellCommand.new(
    command_lines: 'bundle install',
    success_msg: "Ruby dependencies installed",
    error_msg: "Ruby dependencies could not be installed"
  ))
end