#### 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. 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 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. 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

 26 Feb, 2017 06:31 AM gem install archive-tar-minitar is failing from version 0.6 26 Feb, 2017 06:16 AM ballistics gem unmaintained 26 Feb, 2017 06:12 AM Ruby Could not find RubyGem cucumber (>= 0) (Gem::LoadError) 26 Feb, 2017 06:04 AM Take over the gem name rails_nested_layouts 26 Feb, 2017 05:56 AM eztv gem abandoned. I would like to take ownership

## Recent Articles

 FAQ Removing an accidentally pushed gem Removing a published RubyGem Common Problems Supporter FAQ