# Installing ruby on rails

**URL:** <https://www.ruby-forum.com/t/installing-ruby-on-rails/95871>\
**Category:** Rails\
**Created:** [June 16, 2006, 8:08pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-rails/95871 "2006-06-16T20:08:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![supasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@supasta](https://www.ruby-forum.com/u/supasta)\
**Post date:** [June 16, 2006, 8:08pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-rails/95871/1 "2006-06-16T20:08:21Z")

</div>

Hey,  
I need to install ruby on rails. I have installed ruby and it says on a  
site to type in gem install rails --remote. When i try this is what  
happens:  
I get the message:

C:\>gem install rails --remote  
‘gem’ is not recognized as an internal or external command,  
operable program or batch file.

Could anyboy help??  
Thanks  
Chris

---

<div class="post-metadata">

**Author:** ![supasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@supasta](https://www.ruby-forum.com/u/supasta)\
**Post date:** [June 16, 2006, 8:25pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-rails/95871/2 "2006-06-16T20:25:52Z")

</div>

On 6/16/06, chris willis [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hey,  
> I need to install ruby on rails. I have installed ruby and it says on a  
> site to type in gem install rails --remote. When i try this is what  
> happens:  
> I get the message:

Which Ruby did you install? It should have installed RubyGems and  
added everything to the path. You may need to restart your computer.  
You may also need to add the ruby directory to the path separately if  
it still doesn’t work.

[http://greenmeggsandspam.blogspot.com/2006/05/ruby-on-rails-jedit.html](http://greenmeggsandspam.blogspot.com/2006/05/ruby-on-rails-jedit.html)

That posting may help you figure out what might have gone wrong. 🙂  
It’s my recommended Windows setup.

-Curtis

---

<div class="post-metadata">

**Author:** ![supasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@supasta](https://www.ruby-forum.com/u/supasta)\
**Post date:** [June 16, 2006, 11:35pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-rails/95871/3 "2006-06-16T23:35:20Z")

</div>

chris willis wrote:

> Hey,  
> I need to install ruby on rails. I have installed ruby and it says on a  
> site to type in gem install rails --remote. When i try this is what  
> happens:  
> I get the message:
> 
> C:\>gem install rails --remote  
> ‘gem’ is not recognized as an internal or external command,  
> operable program or batch file.
> 
> Could anyboy help??  
> Thanks  
> Chris

Hi, Try installing the ‘instantrails’ it contains everything in a single  
package. Just unzip to a folder and you are ready…

[http://instantrails.rubyforge.org/wiki/wiki.pl](http://instantrails.rubyforge.org/wiki/wiki.pl)

Regards, Hari

---

<div class="post-metadata">

**Author:** ![supasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@supasta](https://www.ruby-forum.com/u/supasta)\
**Post date:** [June 17, 2006, 12:12am UTC](https://www.ruby-forum.com/t/installing-ruby-on-rails/95871/4 "2006-06-17T00:12:26Z")

</div>

On 6/16/06, chris willis [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hey,  
> I need to install ruby on rails. I have installed ruby and it says on a  
> site to type in gem install rails --remote. When i try this is what  
> happens:  
> I get the message:
> 
> C:\>gem install rails --remote  
> ‘gem’ is not recognized as an internal or external command,  
> operable program or batch file.

You don’t have RubyGems installed. You have a few options:

1. Download and install RubyGems from:  
[http://rubyforge.org/frs/?group\_id=126](http://rubyforge.org/frs/?group_id=126)

2. Blow away the Ruby that you installed and in its place installe the  
One-Click Ruby Installer for Windows (which _does_ include RubyGems):  
[http://rubyinstaller.rubyforge.org/](http://rubyinstaller.rubyforge.org/)

3. Blow away the Ruby that you installed and instead install Instant  
Rails  
(which includes Ruby, RubyGems, Rails, and MySQL all in one  
preconfigured  
package):  
[http://instantrails.rubyforge.org/](http://instantrails.rubyforge.org/)

Curt

---

<div class="post-metadata">

**Author:** ![supasta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ebca7d/32.png) [@supasta](https://www.ruby-forum.com/u/supasta)\
**Post date:** [June 17, 2006, 12:07pm UTC](https://www.ruby-forum.com/t/installing-ruby-on-rails/95871/5 "2006-06-17T12:07:34Z")

</div>

Check your %PATH% variable in a command prompt.  
you need to have ruby/bin in the path.
