0

I search for some answers related to this question but didn't get a particular answer. I checked my ruby version. Ruby -v gives 2.5.7p206 as a result and in gem file also add ruby '2.5.7p206'.

In gemfile.lock it show

RUBY VERSION ruby 2.5.7p206

So I didn't find where the actual problem.

thank you.

1 Answers1

0
  1. First install RVM(ruby version manager) after installing
  2. run rvm install x.x.x to install a specific version. (in place of x.x.x 2.5.7) 3.Use rvm use x.x.x --default to change your default Ruby(in your case 2.5.7) if you are using using ubuntu it will work. you can follow these steps from this link too https://www.phusionpassenger.com/library/walkthroughs/deploy/ruby/ownserver/nginx/oss/install_language_runtime.html