Open bjesuiter opened 3 days ago
Works when I install the gem version with a ruby setup in homebrew:
brew install ruby
# in your .zshrc
# Ruby Setup - via brew
export HOMEBREW_PREFIX="$(brew --prefix)";
if [ -d "${HOMEBREW_PREFIX}/opt/ruby/bin" ]; then
export PATH="${HOMEBREW_PREFIX}/opt/ruby/bin:$PATH"
export PATH=`gem environment gemdir`/bin:$PATH
fi
But I still think that the alias version with docker should work out of the box
@bjesuiter I've submitted the Dockerfile enhancement PR below:
Also pushed this update to DockerHub repository. If you'd like to use it, feel free to pull from here:
docker pull ptuladhar/kamal:latest
Forked repository: https://github.com/tuladhar/kamal
What I want
Being able to fetch secrets via the bitwarden adapter
My System
Try 1: Running the command via the docker alias
=> The bw cli is probably not present in the kamal docker image
Try 2: mount my local bw cli into the kamal docker
by using
-v $HOME/bin/bw:/usr/local/bin/bw
=> I probably cannot run my macOS style bw executable in my linux style kamal docker
Try 3 - installing kamal as ruby gem
Problem 1: The default ruby version of my system is
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin24]
=> too old for some dependenciesProblem 2: Installing newer ruby via "internet-recommended" rvm fails, because compilation fails for some reason for Mac 15.0/Arm64
Conclusion
There are more methods of setting up ruby, but I normally don't need a full ruby stack installed and I don't want to get into the weeds of this.
Also: the kamal docker image should work "out-of-the-box" in my opinion, providing the bw cli itself if it needs it.