Class: Dply::Bundle

Inherits:
Object
  • Object
show all
Includes:
Helper
Defined in:
lib/dply/bundle.rb

Instance Method Summary collapse

Methods included from Helper

#cmd, #error, #git, #logger, #sh, #symlink

Instance Method Details

#cleanObject



17
18
19
20
21
# File 'lib/dply/bundle.rb', line 17

def clean
  return if not gemfile_exists?
  write_config
  cmd "bundle clean"
end

#installObject



10
11
12
13
14
15
# File 'lib/dply/bundle.rb', line 10

def install
  return if not gemfile_exists?
  write_config
  return if check
  cmd "bundle install -j5 --deployment"
end