Skip to content

Commit

Permalink
fix(solidus_admin): Run bundle install after adding lookbook
Browse files Browse the repository at this point in the history
The following mount task will fail with a bundler error if we do not
also install the lookbook gem. Just adding it to the gemgroup
won't run bundle install for us.
  • Loading branch information
tvdeyen committed Oct 18, 2024
1 parent 41cb5d3 commit 9db13eb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ def install_lookbook
gem "actioncable"
end

execute_command :bundle, :install

Check warning on line 41 in admin/lib/generators/solidus_admin/install/install_generator.rb

View check run for this annotation

Codecov / codecov/patch

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

Added line #L41 was not covered by tests

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

Expand Down

0 comments on commit 9db13eb

Please sign in to comment.