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've followed the install instructions and set up the symlink, but when loading the app it says puma not found. I saw a few Github issues from years ago with the same error but haven't found them useful. If anyone can help I'd appreciate it!
I use mise, formerly named rtx, similar to asdf, for managing Ruby versions.
bundle exec puma runs fine as it always has and the gem is installed
! Detecting app 'platform-0705271a' dying on start
! Booting app 'platform-0705271a' on socket /Users/kalvin/.puma-dev/platform/tmp/puma-dev-64863.sock
platform-0705271a[69258]: bash: line 27: exec: puma: not found
! Killing 'platform-0705271a' (69258) - 'stdout/stderr closed'
Running puma-dev in foreground gives me a more useful error, it looks like it tries to load my system ruby even though it's starting from my mise managed ruby?
! Detecting app 'platform-0705271a' dying on start
! Booting app 'platform-0705271a' on socket /Users/kalvin/.puma-dev/platform/tmp/puma-dev-72090.sock
platform-0705271a[72170]: /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:283:in `find_spec_for_exe': can't find gem puma (>= 0.a) with executable puma (Gem::GemNotFoundException)
platform-0705271a[72170]: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:302:in `activate_bin_path'
platform-0705271a[72170]: from /Users/kalvin/.local/share/mise/installs/ruby/2.7.8/bin/puma:23:in `<main>'
The text was updated successfully, but these errors were encountered:
It's because the puma-dev is using the ruby from your system. To fix this error it's necessary use to use the shims. In mise you can use mise activate --shims.
I've followed the install instructions and set up the symlink, but when loading the app it says puma not found. I saw a few Github issues from years ago with the same error but haven't found them useful. If anyone can help I'd appreciate it!
I use mise, formerly named rtx, similar to asdf, for managing Ruby versions.
bundle exec puma
runs fine as it always has and the gem is installedI've run
mise use -g [email protected]
puma-dev.log shows:
Running puma-dev in foreground gives me a more useful error, it looks like it tries to load my system ruby even though it's starting from my mise managed ruby?
The text was updated successfully, but these errors were encountered: