开发者

configuring .gems file (rails apps on Heroku)

开发者 https://www.devze.com 2022-12-21 18:55 出处:网络
I\'m learn开发者_JS百科ing how to deploy RoR (v2.3.4) on Heroku. Last night was my first attempt at pushing an app with an external gem (active_merchant).

I'm learn开发者_JS百科ing how to deploy RoR (v2.3.4) on Heroku. Last night was my first attempt at pushing an app with an external gem (active_merchant).

What is the URL format for configuring the .gems file? (My last attempt was 'active_merchant --source github.com/Shopify/active_merchant'.)

Any inputs would be great. Thanks.

-BrianP. (bjpcjp@gmail.com)


According to Heroku's docs, it's the same as you'd pass to the gem command line tool. In your instance, I believe you'd do:

shopify-active_merchant --source gems.github.com

However, is there a reason you're trying to install it off Github? Github's gem hosting is deprecated, and you it doesn't look like Shopify actually hosted versions there anyway (the Active Merchant page suggests you run gem install activemerchant).

0

精彩评论

暂无评论...
验证码 换一张
取 消