How to sell gems bundled for multiple platforms?
I am developing on Mac OSX, but deploying a gem on ubuntu that has its own dependencies like libv8, may have a gem named
https://rubygems.org/gems/libv8/versions/3.11.8.13-x86_64-darwin-10 and https://rubygems.org/gems/libv8/versions/3.11.8.13-x86_64-linux all versions can be seen on https://rubygems.org/gems/libv8/versions
So, on my Mac, when I run the package package. I want to:libv8-3.11.8.13-x86_64-darwin-10.gem and libv8-3.11.8.13-x86_64-linux.gem also upgrading and removing the gem should remove and add other platform stones as well
Currently on Mac it adds libv8-3.11.8.13-x86_64-darwin-10.gem
Download this gem https://rubygems.org/gems/libv8/versions/3.11.8.13-x86_64-linux to the provider / cache folder in your application. I do not think that you often update this stone on this. quite a normal solution. I also ran into this problem and could not find another solution.