-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
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
mailcatcher: Could not find daemons-1.3.1 in any of the sources (Bundler::GemNotFound) #85989
Comments
|
I think I might have the same issue with solargraph:
The same command from nixpkgs-19.09 seems fine:
Possibly due to the bundler changes in #81442 ? EDIT: Hm. But in a docker container (lnl7/nix:2020-03-07),
|
I had a similar issue and I found that my global bundler config was the problem.
#81442 changed the generated binstubs so that the diff --git a/pkgs/development/ruby-modules/bundled-common/gen-bin-stubs.rb b/pkgs/development/ruby-modules/bundled-common/gen-bin-stubs.rb
index add5db56d1d..1dfeaadf650 100644
--- a/pkgs/development/ruby-modules/bundled-common/gen-bin-stubs.rb
+++ b/pkgs/development/ruby-modules/bundled-common/gen-bin-stubs.rb
@@ -32,7 +32,7 @@ paths.each do |path|
#
ENV["BUNDLE_GEMFILE"] = #{gemfile.dump}
-ENV["BUNDLE_PATH"] = #{bundle_path.dump}
+ENV.delete 'BUNDLE_PATH'
ENV['BUNDLE_FROZEN'] = '1'
$LOAD_PATH.unshift #{bundler_path.dump} + "/lib" This seems to result in bundler looking for gems in the wrong location. A possible workaround is to set There is also the |
I marked this as stale due to inactivity. → More info |
@gtgteq Do you still experience the issue? nixos tests of the service are passing and I'm unable to replicate on the current nixpkgs or even in commit |
@zarelit Yes. |
I removed |
Hopefully #110703 or a similar change will get merged and prevent these problems. I've seen a few issues like this get reported. |
Change will make packaged ruby application ignore the user-wide bundle configuration. Fix #85989
Describe the bug
mailcatcher
do not run.To Reproduce
Notify maintainers
@zarelit @nicknovitski
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: