Passenger: cannot load such file rubygems/builder

后端 未结 2 1571
离开以前
离开以前 2021-02-04 01:09

I was trying to install passenger with Apache2 and ruby 2.0, and I had this line of error when I am doing:

passenger-install-apache2-module

Er

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-04 01:30

    There's seems to be problems with Ruby 2.0 and passenger as pointed on this reported issue:Passenger Ruby 2.0 issue

    One of the proposed solutions (can be found on one of the comments there):

    git clone https://github.com/FooBarWidget/passenger.git
    cd passenger
    gem build passenger.gemspec
    gem install passenger-3.9.5.rc3.gem (or type your actual built gem name)
    

    Edit:

    To simplify the process a pre-release version (pointing to whatever latest RC version) can also be installed in the following fashion:

    gem install passenger --pre
    

提交回复
热议问题