ibneko: ([Default])
[personal profile] ibneko
I installed RVM system-wide (because I just can't wrap my head around the idea that we should have copies of rubies and gems for each user. I mean, yes, in some ways, it makes sense, but.... it just feels wrong, somehow.)

Anyways. I got RVM installed systemwide. That wasn't too bad.

But when I tried to get Passenger to install (with rvmsudo passenger-install-apache2-module), I got:

Your RVM wrapper scripts are too old. Please update them first by running 'rvm update --head && rvm reload && rvm repair all'.

First off, rvm update --head has been removed. I believe it's been replaced with "rvm get head" or even "rvm get latest". I ran "sudo rvm get latest". It did stuff. I'm pretty sure I was already at the latest though. Ran sudo rvm reload and sudo rvm repair all. Then tried rvmsudo passenger-install-apache2-module again. Still didn't work.

Tried sudo passenger-install-apache2-module. That failed - got:
/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:900:in `report_activate_error': Could not find RubyGem passenger (>= 0) (Gem::LoadError)

Tried passenger-install-apache2-module in userspace. It worked, surprisingly, but then it hit permission problems as it tried to write to various directories.

In the end, I did sudo irb, then manually ran each line in passenger-install-apache2-module, and that worked perfectly.

I don't know if Passenger will work when installed that way; I'm modifying my apache config now, but I'm at my train station...
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Expand Cut Tags

No cut tags

Profile

ibneko: (Default)
ibneko

Most Popular Tags

Style Credit

Page generated Jul. 14th, 2025 12:23 pm
Powered by Dreamwidth Studios
January 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 2021