Rails 3: Passenger can't find git gems installed by bundler

前端 未结 6 2019
伪装坚强ぢ
伪装坚强ぢ 2020-12-07 09:41

Rails 3.0.0, Passenger 2.2.15:

  • Create a new Rails project
  • Add gem \'paperclip\', :git => \'git://github.com/lmumar/paperclip.git\', :branch =
6条回答
  •  隐瞒了意图╮
    2020-12-07 10:12

    I ran into this problem while writing a Sinatra app. To solve it I added this line to config.ru.

    require 'bundler/setup'
    

提交回复
热议问题