Skip to content

Commit

Permalink
Merge pull request #4511 from nebulab/waiting-for-dev/fix_installer_n…
Browse files Browse the repository at this point in the history
…o_auth_starter

Run auth generator when starter frontend installs the gem
  • Loading branch information
waiting-for-dev authored Aug 17, 2022
2 parents 46aa202 + 9ded7c9 commit 1c4efe3
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ def install_solidus_starter_frontend(installer_adds_auth)

# TODO: Move installation of solidus_auth_devise to the
# solidus_starter_frontend template
BundlerContext.bundle_cleanly { `bundle add solidus_auth_devise` } unless auth_present?(installer_adds_auth)
unless auth_present?(installer_adds_auth)
BundlerContext.bundle_cleanly { `bundle add solidus_auth_devise` }
@generator_context.generate('solidus:auth:install --auto-run-migrations')
end
`LOCATION="https://raw.githubusercontent.com/solidusio/solidus_starter_frontend/main/template.rb" bin/rails app:template`
end

Expand Down

0 comments on commit 1c4efe3

Please sign in to comment.