Can't work when system ruby version is not 2.3
Hi there, After I type 'fui' in terminal, I get an error: -bash: /usr/local/bin/fui: /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby: bad interpreter: No such file or directory
It seems that this tool has dependency of ruby 2.3, but my system ruby version is not 2.3.
Anyone please help me? Thanks.
There's no dependency on a specific version of Ruby, but your system may be defaulting to 2.3 that is not working. Does typing ruby -v work at all and ruby -e "puts 'hello'"?
@dblock ruby -v and ruby -e "puts 'hello'" works well. My ruby version is : ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin19]
Please help me, thanks.
@dblock ruby -v and ruby -e "puts 'hello'" works well. My ruby version is : ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-darwin19]
Please help me, thanks.
This has to be a problem in your installation. When you do which ruby, what do you get?
/usr/local/opt/ruby/bin/ruby
i think it looks similar to https://github.com/rbenv/rbenv/issues/886, check the discussion in there?