Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generator fails when BUNDLE_PATH is set #3284

Open
jcoyne opened this issue Aug 22, 2024 · 0 comments
Open

Generator fails when BUNDLE_PATH is set #3284

jcoyne opened this issue Aug 22, 2024 · 0 comments

Comments

@jcoyne
Copy link
Member

jcoyne commented Aug 22, 2024

If you do:

BUNDLE_PATH="/usr/local/bundle" rails generate blacklight:install

It fails when it gets to the assets installer:

21.79     generate  blacklight:assets
21.79        rails  generate blacklight:assets
21.86 /usr/local/lib/ruby/3.3.0/bundler/definition.rb:594:in `materialize': Could not find solr_wrapper-4.0.2, rsolr-2.6.0, http-5.2.0, minitar-1.0.1, retriable-3.1.2, ruby-progressbar-1.13.0, http-cookie-1.0.7, http-form_data-2.3.0, llhttp-ffi-0.5.0, domain_name-0.6.20240107, ffi-compiler-1.3.2 in locally installed gems (Bundler::GemNotFound)

This is due to our use of Bundler.with_unbundled_env. I'm not sure if there's a reason we want this in generators.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant