Yesterday I was able to install Passenger 5.0.22 (open source) on my development server without any problems. I attempted to install Passenger 5.0.24 (enterprise) on my production server and I get the following error when executing rvmsudo passenger-install-apache2-module.
[myrailsapp]$ rvmsudo passenger-install-apache2-module
Password:
/Users/myuserid/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/specification.rb:2159:in `method_missing': undefined method `this' for #<Gem::Specification:0x007fef43018f58> (NoMethodError)
from /Users/myuserid/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/specification.rb:1057:in `find_active_stub_by_path'
from /Users/myuserid/.rvm/rubies/ruby-2.3.0/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:64:in `require'
from /Users/myuserid/.rvm/gems/ruby-2.3.0@mygemset/gems/passenger-enterprise-server-5.0.22/bin/passenger-install-apache2-module:18:in `<top (required)>'
from /Users/myuserid/.rvm/gems/ruby-2.3.0@mygemset/bin/passenger-install-apache2-module:23:in `load'
from /Users/myuserid/.rvm/gems/ruby-2.3.0@mygemset/bin/passenger-install-apache2-module:23:in `<main>'
from /Users/myuserid/.rvm/gems/ruby-2.3.0@mygemset/bin/ruby_executable_hooks:15:in `eval'
from /Users/myuserid/.rvm/gems/ruby-2.3.0@mygemset/bin/ruby_executable_hooks:15:in `<main>'
Here are my statements in the Apache config file:
Here are the versions of RubyGems and RVM I have installed on both of my servers:
[~]$ rvm -v
rvm 1.26.11 (latest) by Wayne E. Seguin <waynee...@gmail.com>, Michal Papis <mpa...@gmail.com> [https://rvm.io/]
[~]$ gem -v
2.5.2
To view this discussion on the web visit https://groups.google.com/d/msgid/phusion-passenger/38ADB240-2A22-4F1E-97D9-2510F0850375%40me.com.