Class: Dply::Bundle
- Inherits:
-
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
#clean ⇒ Object
21
22
23
24
25
|
# File 'lib/dply/bundle.rb', line 21
def clean
return if not gemfile_exists?
write_config
cmd "bundle clean"
end
|
#install(without: nil) ⇒ Object
10
11
12
13
14
15
16
17
18
19
|
# File 'lib/dply/bundle.rb', line 10
def install(without: nil)
return if not gemfile_exists?
write_config
return if check
if without
cmd "bundle install -j5 --deployment --without #{without}"
else
cmd "bundle install -j5 --deployment"
end
end
|