Last active
May 22, 2022 16:22
-
-
Save rubyandcoffee/83b7bdffc8faf909e077da58ca1ec7ec to your computer and use it in GitHub Desktop.
Error: Rails is not currently installed on this system.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you're receiving the following error: | |
Rails is not currently installed on this system. | |
Then you're probably on a Ruby version which doesn't have Rails installed. | |
To fix, switch to a Ruby version which does have Rails installed. | |
If you've tried to install Rails, and you're receiving a PERMISSIONS error, | |
then you're probably using the default system-installed Ruby, instead of the Ruby version manager-installed version (e.g. installed using ruby-install). | |
To fix, switch to a Ruby version manager installed-version and then you will be able to install Rails, as well as other gems. | |
e.g. To switch to Ruby 2.6: | |
chruby 2.6 | |
Other chruby gists: | |
- https://gist.github.com/rubyandcoffee/5f15410a6c729f06b85f27cdc04cc20e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment