Class: RSGem::Tasks::BundleDependencies

Inherits:
Base
  • Object
show all
Defined in:
lib/rsgem/tasks/bundle_dependencies.rb

Constant Summary collapse

OUTPUT =
OutputStruct.new(name: 'Bundle dependencies')

Instance Attribute Summary

Attributes inherited from Base

#args, #context

Instance Method Summary collapse

Methods inherited from Base

#call, #initialize

Methods included from Output

#with_output

Constructor Details

This class inherits a constructor from RSGem::Tasks::Base

Instance Method Details

#performObject



8
9
10
11
12
# File 'lib/rsgem/tasks/bundle_dependencies.rb', line 8

def perform
  return if system("cd #{context.folder_path} && bundle", out: '/dev/null')

  raise RSGem::Errors::Base
end