#### toddwozny

13 Nov, 2013 04:26 PM

So I have just start diving into Ruby on Rails and Gems. When I go to click on the Download button, I see it trys to open up the file and and gives me a bunch of gook. I see that I can save it, by right-clicking, but it gives me the opinion of save target as and defaults with an html ext. Since I am so new to this and you guys aren't, can I change the ext to .gem and not corrupt the file.

I need to manually download some gems. Transport them to another workstation and do a local install, just to give a quick background.

Thank You,

TW

1. 2 Posted by AWS on 19 Nov, 2013 07:09 PM

I'm no pro heck I barely qualify as novice but.... I DID IT! I was having problems with proxies and getting that gook when clicking the download link. I right clicked the link, Save Target As, Changed type to 'All Files" and changed .htm to .gem.

I then moved the file to my Ruby Installation directory and used this command to install. gem install \path\to\my\file\mynew.gem

It worked! However, it doesn't seem to handle obtaining and installing dependencies so when/if it errors you have to come back to rubygems.org and get the dependency... and sometimes that has dependecies and so on and so forth

2. Support Staff 3 Posted by Eric Hodel on 19 Nov, 2013 07:12 PM

You can use gem install -i ~/tmp/gems then take the ~/tmp/cache directory to another machine for installation. All the necessary dependencies will be there.

3. 4 Posted by toddwozny on 19 Nov, 2013 09:20 PM

Good job. Yeah, sorry I guess I should of updated my thread. Yes, changing the .ext does indeed work. But what I found was opening Firefox and doing the download worked successfully. I guess IE doesn't recognize the .gem extension as a download and just tried to save it as an html page. Firefox seems to recognize the download. Anyway, it works.

4. Amanda Quaranto closed this discussion on 06 Mar, 2014 02:38 AM.

Comments are currently closed for this discussion. You can start a new one.

# Keyboard shortcuts

### Generic

? Show this help Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 23 Jul, 2014 02:53 PM Rubygems.org not defaulting to latest version of gem 22 Jul, 2014 09:50 PM Install gems from behind corporate firewall 21 Jul, 2014 05:58 PM Unable to find Homepage URL Field 21 Jul, 2014 06:30 AM Could not ping to 'rubygems.org'. 19 Jul, 2014 10:01 PM Unable to yank https://rubygems.org/gems/trepan8

## Recent Articles

 Removing an accidentally pushed gem Supporter FAQ Gem ownership Installing gems with no network Removing a published RubyGem