<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Rails Forum - Ruby on Rails Help and Discussion Forum - Where to put .gem file in Windows in order to install]]></title>
		<link>http://railsforum.com/viewtopic.php?id=52218</link>
		<description><![CDATA[The most recent posts in Where to put .gem file in Windows in order to install.]]></description>
		<lastBuildDate>Wed, 30 Jan 2013 15:57:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Where to put .gem file in Windows in order to install]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=158676#p158676</link>
			<description><![CDATA[<p>Thanks so much. I installed it as you suggested and it worked!</p>]]></description>
			<author><![CDATA[dummy@example.com (tjobrien17)]]></author>
			<pubDate>Wed, 30 Jan 2013 15:57:09 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=158676#p158676</guid>
		</item>
		<item>
			<title><![CDATA[Re: Where to put .gem file in Windows in order to install]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=158666#p158666</link>
			<description><![CDATA[<p>You should not start IRB session to install a gem. Just navigate to the folder containing the gem to be installed and hit gem install &lt;gem_name&gt; --local:<br /></p><div class="codebox"><pre><code>- Hit cmd in the &#039;Start-Execute&#039; to enter the Windows terminal window
C:\Documents and Settings\yourUserName&gt;
cd gem_folder
gem install mechanize --local</code></pre></div><p>ATTENTION, very often a gem has run time dependencies (other gem to install with). Check it in the corresponding dependency section and download all of them. In your case here they are:<br /></p><div class="codebox"><pre><code>Runtime Dependencies

    domain_name &gt;= 0.5.1, ~&gt; 0.5
    mime-types &gt;= 1.17.2, ~&gt; 1.17
    net-http-digest_auth &gt;= 1.1.1, ~&gt; 1.1
    net-http-persistent &gt;= 2.5.2, ~&gt; 2.5
    nokogiri ~&gt; 1.4
    ntlm-http &gt;= 0.1.1, ~&gt; 0.1
    webrobots &gt;= 0.0.9, ~&gt; 0.0</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Javix)]]></author>
			<pubDate>Wed, 30 Jan 2013 09:31:17 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=158666#p158666</guid>
		</item>
		<item>
			<title><![CDATA[Where to put .gem file in Windows in order to install]]></title>
			<link>http://railsforum.com/viewtopic.php?pid=158653#p158653</link>
			<description><![CDATA[<p>I am running Windows 7 and am trying to install the Mechanize gem. I have downloaded the .gem file from here:</p><p><a href="http://rubygems.org/gems/mechanize">http://rubygems.org/gems/mechanize</a></p><p>Now I don&#039;t know where in my file tree I should save it so that Ruby will recognize it when I attempt to install it.</p><p>I tried saving it in the general file C:\Ruby193 and got this message on attempting to install:</p><p>irb(main):001:0&gt; gem install mechanize<br />NameError: undefined local variable or method `mechanize&#039; for main:Object<br />&nbsp; &nbsp; &nbsp; &nbsp; from (irb):1<br />&nbsp; &nbsp; &nbsp; &nbsp; from C:/Ruby193/bin/irb:12:in `&lt;main&gt;&#039;</p><br /><p>I am an idiot when it comes to stuff like this and I could really use some help. Thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (tjobrien17)]]></author>
			<pubDate>Tue, 29 Jan 2013 17:26:13 +0000</pubDate>
			<guid>http://railsforum.com/viewtopic.php?pid=158653#p158653</guid>
		</item>
	</channel>
</rss>
