I set my ruby default using Chruby ruby version control but when I try and rails new it is using my system version. How do I fix this?
~/workspace ❯❯❯ ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin14]
~/workspace ❯❯❯ ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin14]
~/workspace ❯❯❯ rails new gitsee
Rails 5 requires Ruby 2.2.2 or newer.
You're running
ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin14]
Please upgrade to Ruby 2.2.2 or newer to continue.