Rbenv: rails: command not found


#1

Hello,
I’m having trouble with starting a new rails app after installing rails:

➜  odin_on_rails rails new my_first_rails_app
rbenv: rails: command not found

The `rails' command exists in these Ruby versions:
  2.5.3

➜  odin_on_rails gem install rails
Successfully installed rails-6.0.1
Parsing documentation for rails-6.0.1
Done installing documentation for rails after 0 seconds
1 gem installed
➜  odin_on_rails rails new my_first_rails_app
rbenv: rails: command not found

The `rails' command exists in these Ruby versions:
  2.5.3

Not sure what to do…Would appreciate some help, thanks!