TaKO8Ki / frum

A little bit fast and modern Ruby version manager written in Rust
MIT License
628 stars 15 forks source link

gems not working after installing them #122

Open pipetus opened 1 year ago

pipetus commented 1 year ago

Hi!

I have a MacBook Pro M1, and after successfully installing frum I "install" gems, but they are not "available" at some point.

❯ frum install 3.0.0 --with-openssl-dir=$(brew --prefix openssl@1.1) --with-jemalloc-dir=$(brew --prefix jemalloc)
==> Downloading https://cache.ruby-lang.org/pub/ruby/3.0/ruby-3.0.0.tar.xz
==> Extracting ruby-3.0.0.tar.xz
==> Building Ruby 3.0.0
❯ ruby -v
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin21]
❯ which ruby
/var/folders/dm/m1wyhkzx4gs_f48b34q8bf3c0000gn/T/frum_84091_1665070882434/bin/ruby
❯ env | grep -i frum
PATH=/Users/pipe/.krew/bin:/var/folders/dm/m1wyhkzx4gs_f48b34q8bf3c0000gn/T/frum_84091_1665070882434/bin:/Users/pipe/.krew/bin:/var/folders/dm/m1wyhkzx4gs_f48b34q8bf3c0000gn/T/frum_81519_1665070516139/bin:/Users/pipe/.krew/bin:/var/folders/dm/m1wyhkzx4gs_f48b34q8bf3c0000gn/T/frum_80819_1665070454001/bin:/Users/pipe/.krew/bin:/var/folders/dm/m1wyhkzx4gs_f48b34q8bf3c0000gn/T/frum_51751_1665068788610/bin:/Users/pipe/.krew/bin:/var/folders/dm/m1wyhkzx4gs_f48b34q8bf3c0000gn/T/frum_25928_1665068007304/bin:/Users/pipe/.krew/bin:/Users/pipe/.nvm/versions/node/v16.16.0/bin:/var/folders/dm/m1wyhkzx4gs_f48b34q8bf3c0000gn/T/frum_25249_1665067974064/bin
FRUM_MULTISHELL_PATH=/var/folders/dm/m1wyhkzx4gs_f48b34q8bf3c0000gn/T/frum_84091_1665070882434
FRUM_DIR=/Users/pipe/.frum
FRUM_LOGLEVEL=info
FRUM_RUBY_BUILD_MIRROR=https://cache.ruby-lang.org/pub/ruby
❯ gem install bumbler
Successfully installed bumbler-0.9.0
Parsing documentation for bumbler-0.9.0
Done installing documentation for bumbler after 0 seconds
1 gem installed
❯ bumbler
zsh: command not found: bumbler

Something similar happened with rails and other stuff. I may be misunderstanding a concept around frum but I cannot get it from the docs.

Any ideas?

namiwa commented 1 year ago

+1

facing the same issue in frum 0.1.2 when installing from homebrew on intel macbook 2020 running ventura 13.2.1