Passenger: cannot load such file rubygems/builder

后端 未结 2 1570
离开以前
离开以前 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
    
    0 讨论(0)
  • 2021-02-04 01:39

    Updated instructions:

    $ gem install passenger --version 4.0.0.rc6
    $ passenger-install-apache2-module
    
    0 讨论(0)
提交回复
热议问题