You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm adding this issue for if people find they get caught up with bug and do not what the issue is.
ejson_wrapper includes a handy CLI tool for generating secret files, and decrypting secrets.
If you try to use the cli tool in a folder that has a Gemfile it tries to load in the Gemfile dependencies into ejson_wrapper. This causes version mismatches and fails to run.
example.
You have already activated aws-eventstream 1.1.0, but your Gemfile requires aws-eventstream 1.0.3. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
or
Gem::Exception: can't find executable ejson_wrapper for gem ejson_wrapper. ejson_wrapper is not currently included in the bundle, perhaps you meant to add it to your Gemfile?
There are workarounds at the moment, including:
Adding ejson_wrapper to the Gemfile of the folder you're in temporarily.
Going into a folder without a Gemfile and executing the cli tool.
Would be great if rather running Bundler.require in the gem it manually required its dependencies.
The text was updated successfully, but these errors were encountered:
mattpatterson94
changed the title
Prepending bundle exec to your command may solve this.
can't find executable ejson_wrapper
Nov 11, 2020
I'm adding this issue for if people find they get caught up with bug and do not what the issue is.
ejson_wrapper
includes a handy CLI tool for generating secret files, and decrypting secrets.If you try to use the cli tool in a folder that has a
Gemfile
it tries to load in the Gemfile dependencies intoejson_wrapper
. This causes version mismatches and fails to run.example.
or
There are workarounds at the moment, including:
ejson_wrapper
to theGemfile
of the folder you're in temporarily.Gemfile
and executing the cli tool.Would be great if rather running
Bundler.require
in the gem it manually required its dependencies.The text was updated successfully, but these errors were encountered: