Skip to content

Instantly share code, notes, and snippets.

@rubyandcoffee
Last active May 22, 2022 16:22
Show Gist options
  • Save rubyandcoffee/83b7bdffc8faf909e077da58ca1ec7ec to your computer and use it in GitHub Desktop.
Save rubyandcoffee/83b7bdffc8faf909e077da58ca1ec7ec to your computer and use it in GitHub Desktop.
Error: Rails is not currently installed on this system.
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