Thursday 15 May 2014

install - Is it possible to download a platfrom specific Ruby gem without installing it? -


I have read the answer gem fetch response to this question but windows always do not get windows gem.

Using install gem install gosu --remote installs Windows version successfully installed gosu-0.7.15-x86-mswin32-60 . When downloading using

gem fetch gosu , I get downloaded gosu-0.7.15 which is a Linux version and can not Installed on my windows PC

Gem fetch gosu-0.7.15-x86-mswin32-60 with a specific gem and try it like error: does any repository Do not get gosu-0.7.15-x86-mswin32-60

How to get the right version for my PC when using fetch versus install?

  $ gem fetch --help Usage: gem fetch GEMNAME [GEMNAME ...] [ Option] Options: -v, - Version VERSION - Specify the version of the gem to fetch the platform platform Specify the platform of the gem to bring local / remote options: -B, - switch to Bul-Thru Bulk Synchronization (default 1000) Threshold Threatold-P to ---- [No-] http-proxy [URL] Use HTTP Proxy for Remote Works - Source URL for Gems Use the URL as the remote source Common Options: -H, --help Get help on this command- V, - [no-] Verbose verbose level output -q, - set Quiet silence commands - Config-file FILE Use this config file instead of default - Show backcrackers on backtracks Backtraas Stack - Debug Ruby debugging Turn on Logic: Summary for downloading a gem named GEMNAME: Download a gem and call it current directory Keep default in: - version '& gt; = 0 ' 

You should be able to do this

  $ gem fetch gosu - platform x86-mswin32  

Or just go to the bus.


No comments:

Post a Comment