Skip to content

Commit 4e243b7

Browse files
committed
add 'bundle_path' hidded preference
1 parent 3ae6ae6 commit 4e243b7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

templates/layout.erb

+5-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,11 @@ end
9898
# >-----------------------------[ Run 'Bundle Install' ]-------------------------------<
9999

100100
say_wizard "Installing gems. This will take a while."
101-
run 'bundle install --without production'
101+
if prefs.has_key? :bundle_path
102+
run "bundle install --without production #{prefs[:bundle_path]}"
103+
else
104+
run 'bundle install --without production'
105+
end
102106

103107
# >-----------------------------[ Run 'After Bundler' Callbacks ]-------------------------------<
104108

0 commit comments

Comments
 (0)