Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't work when system ruby version is not 2.3 #41

Open
buptwsg opened this issue Dec 13, 2020 · 5 comments
Open

Can't work when system ruby version is not 2.3 #41

buptwsg opened this issue Dec 13, 2020 · 5 comments

Comments

@buptwsg
Copy link

buptwsg commented Dec 13, 2020

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.

@dblock
Copy link
Owner

dblock commented Dec 14, 2020

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'"?

@buptwsg
Copy link
Author

buptwsg commented Jul 23, 2021

@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
Copy link
Owner

dblock commented Jul 23, 2021

@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?

@buptwsg
Copy link
Author

buptwsg commented Jul 23, 2021

/usr/local/opt/ruby/bin/ruby

@dblock
Copy link
Owner

dblock commented Jul 23, 2021

i think it looks similar to rbenv/rbenv#886, check the discussion in there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants