Custom Ruby Gem in Gemfile on Heroku

前端 未结 4 1092
清酒与你
清酒与你 2020-12-15 08:17

I\'ve modified a Gem that I use in my Rails app, and need to use it on Heroku. Is there a way to upload the modified Gem to Heroku within my app and specify a custom path in

4条回答
  •  天涯浪人
    2020-12-15 09:00

    You can place custom gems in the vendor directory and then specify them in your Gemfile:

    gem 'gemname', '1.0', :path => 'vendor/gemname'

提交回复
热议问题