Question

I am using Site5 to host my site, and which limits me to use ruby 1.8.7. However, I can't install the Active Merchant gem because it has Money as a dependancy - which requires Ruby 1.9.2! Is there any way to work around this? Perhaps declaring a older version of ACtive Merchant or Money? Will it still be functional if this is done?

This is the error I am getting:

Installing money (5.1.1) 
Gem::InstallError: money requires Ruby version >= 1.9.2.
An error occurred while installing money (5.1.1), and Bundler cannot continue.
Make sure that `gem install money -v '5.1.1'` succeeds before bundling.
Was it helpful?

Solution

You should be able to use bundler to figure out which version you can use.

Otherwise, use git or github to blame the dependency. For example, you can see that the 1.9.2 dependency was added in version 5, so anything older should be fine. You'll have to dig out which version of ActiveMerchant can the use money 4.x.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top