Skip to content

Commit 2678765

Browse files
authored
Merge pull request #6154 from chaimann/fix-lookbook-still-missing
Fix install_lookbook step
2 parents 7ff2031 + 29d03d1 commit 2678765

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

admin/lib/generators/solidus_admin/install/install_generator.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ def install_lookbook
3838
gem "actioncable"
3939
end
4040

41-
execute_command :bundle, :install
41+
require 'bundler'
42+
Bundler.with_unbundled_env do
43+
execute_command :bundle, :install
44+
end
4245

4346
route "mount Lookbook::Engine, at: '#{solidus_mount_point}lookbook' if Rails.env.development?"
4447
end

0 commit comments

Comments
 (0)