I need to upload vendorize a gem which is causing problems at my host - in this case nokogiri. My host is using linux, my development system is windows. The gem contains binaries and so my local gem downloads the win32 binaries. Is there any way I can get gem to download the linux binaries, so I can vendorize and upload them?
+1
A:
You won't be able to build the Linux version of a gem on Windows. That's why there are multiple platform versions for some gems.
You could download the original source of the Linux version, then simply store that in your repository, if you really want to have a copy of it with your app.
Or you could do all your development in a Linux virtual machine in your Windows box - then you'd have no vendoring problems.
Other than that, don't think you can do it.
fig
2010-04-11 22:04:01
My hosting company vendorised the gem on the server for me and I can download that to my source control.
Mike Sutton
2010-04-12 19:08:29
A:
Try below command
gem install <> --platform=mswin32
example
gem install hpricot --platform=mswin32
Amit
2010-09-22 21:04:22