Ruby on Rails on Linode Problem

I tried setting up Ruby on Rails on Debian 10 on Linode.

I used Linode’s Ruby on Rails on Debian 9 guide cuz I didn’t see a Debian 10 guide. I got pretty far but I am stuck.


Everything went fine until the “Configure Apache to Work with Passenger” section, particular the section where it says:

sudo passenger-config about ruby-command
Make sure that Passenger reports the version of Ruby that you installed with RVM. Normally RVM uses paths similar to ~/.rvm/wrappers/ruby-X.X.X/ruby.

Upon running rvm current, my ruby version reports as ruby-2.6.3, but Passenger seems to be using ruby 2.5.5p157

When I run sudo passenger-config about ruby-command I also get the following error:

Traceback (most recent call last):
2: from /usr/bin/passenger-config:27:in <main>'
1: from /home/admin/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in
/home/admin/.rvm/rubies/ruby-2.6.3/lib/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- phusion_passenger (LoadError)

i googled the error and tried various suggestions for commands to run but nothing has worked so far.

2 thoughts on “Ruby on Rails on Linode Problem”

  1. what sucks about apache?

    should i restart my software setup from fresh or just try installing nginx from the point at where I am stuck?

Leave a Reply

Your email address will not be published.