Skip to content
Advertisement

Cannot install ruby version on redhat

I have the following problem and whatever I try, nothing helps. I hope someone could help me with this.

I have a redhat server and I’m trying to install redmine on it. Redmine needs Ruby >= 1.8.7 to run so I installed it and when I execute ruby -v in the console it says I have version 1.8.7 (so that’s great)

[root@vms redmine]# ruby -v
ruby 1.8.7 (2008-05-31 patchlevel 0) [x86_64-linux]

But when i try to install the passenger gem I need to run redmine on Apache it says I don’t have ruby 1.8.7

[root@vms redmine]# gem install passenger
ERROR:  Error installing passenger:
rake requires Ruby version >= 1.8.6

Does anyone know how this can be fixed?

Advertisement

Answer

You need newer ruby, you have patchlevel 0, try to get patchlevel 173 at least.
RVM can help you.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement