How to install 'armor_payments_ruby' gem for ruby on rails 4.0.2 project - Armor-Payments/armor_payments_ruby GitHub Wiki

if you try install this gem from CLI and type

gem install armor_payments maybe you will receive this error:

ERROR: Could not find a valid gem 'armor_payments' (>= 0) in any repository ERROR: Possible alternatives: arrow_payments, zooz_payments, pin-payments, rack-payment, payza_payments

Even if you add to your Gemfile this gem 'armor_payments' and run bundle

you maybe receive error:

bundle Fetching gem metadata from https://rubygems.org/........ Fetching additional metadata from https://rubygems.org/.. Resolving dependencies... Could not find gem 'armor_payments (>= 0) ruby' in the gems available on this machine.

Solution:

Add to your Gemfile only this line:

gem 'armor_payments', :git => 'https://github.com/Armor-Payments/armor_payments_ruby.git'

and run bundle Tested. all works correct

bundle | grep armor Using armor_payments (0.0.1) from https://github.com/Armor-Payments/armor_payments_ruby.git (at master)