# Ruby on Rails in Eclipse

**URL:** <https://www.ruby-forum.com/t/ruby-on-rails-in-eclipse/104723>\
**Category:** Ruby\
**Created:** [May 21, 2007, 10:06pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-in-eclipse/104723 "2007-05-21T22:06:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 21, 2007, 10:06pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-in-eclipse/104723/1 "2007-05-21T22:06:03Z")

</div>

Hello,  
I am trying to load Ruby on Rails into Eclipse.

Before I get into my problem, I will tell you what I have done:  
I have downloaded Eclipse and Ruby.  
After downloading Ruby, I extracted it to my Eclipse folder.  
I have downloaded Ruby on Rails, I extracted RoR to its own file on my  
C Drive.

Here is the trouble:  
O’Reilly has put up a very nice walkthrough at:

> **[O'Reilly Media - Technology and Business Training](https://www.oreilly.com)**
>
> Gain technology and business knowledge and hone your skills with learning resources created and curated by O'Reilly's experts: live online training, video, books, our platform has content from 200+ of the world's best publishers.

I am going through this and it tells me to “Create a configuration,  
“Create Rails Application,” to create a Rails application. In the  
Location field, specify the rails.cmd file.”

In the picture the file extension is listed as, "C:\rubyonrails\bin  
\rails.cmd

I open my File Directory but I cannot find a “bin” file anywhere. My  
directory looks like this: C:/RubyonRails/Rails  
then the following directories: app, components, config, db, doc, lib,  
log, public, script, test, tmp, vendor.

I also looked through the zip file to see if a bin file was located  
there, and I did not see it.

Any help would be very appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 21, 2007, 10:23pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-in-eclipse/104723/2 "2007-05-21T22:23:07Z")

</div>

removed\_email\_address@domain.invalid wrote:

> O’Reilly has put up a very nice walkthrough at:  
> directory looks like this: C:/RubyonRails/Rails  
> then the following directories: app, components, config, db, doc, lib,  
> log, public, script, test, tmp, vendor.
> 
> I also looked through the zip file to see if a bin file was located  
> there, and I did not see it.
> 
> Any help would be very appreciated. Thank you!

I used Instant Rails to install Ruby and Ruby on Rails. It placed the  
rails.cmd file in my ruby\bin file. Maybe that is where it needs to go  
for Eclipse also.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 21, 2007, 10:27pm UTC](https://www.ruby-forum.com/t/ruby-on-rails-in-eclipse/104723/3 "2007-05-21T22:27:08Z")

</div>

My machine here at work has rails.cmd in C:\ruby\bin\ as well.

I installed Rails as a gem from the command line.

On 5/21/07, Michael W. Ryder [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > \rails.cmd
> 
> I used Instant Rails to install Ruby and Ruby on Rails. It placed the  
> rails.cmd file in my ruby\bin file. Maybe that is where it needs to go  
> for Eclipse also.

–  
“Hey brother christian with your high and mighty errand, Your actions  
speak  
so loud, I can’t hear a word you’re saying.”

-Greg Graffin (Bad Religion)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 22, 2007, 1:43am UTC](https://www.ruby-forum.com/t/ruby-on-rails-in-eclipse/104723/4 "2007-05-22T01:43:37Z")

</div>

On May 21, 1:17 pm, “Michael W. Ryder” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > Here is the trouble:  
> > I open my File Directory but I cannot find a “bin” file anywhere. My  
> > rails.cmd file in my ruby\bin file. Maybe that is where it needs to go  
> > for Eclipse also.- Hide quoted text -
> 
> - Show quoted text -

I just downloaded Instant Rails and extracted it but no luck. I’ve  
never setup an environment like this before and I’m having quite a bit  
of trouble. Any suggestions? Maybe tutorials or something of that  
nature. I have downloaded Aptana, the Aptana plug-in for Eclipse, I’m  
having trouble connecting the dots.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 22, 2007, 12:13am UTC](https://www.ruby-forum.com/t/ruby-on-rails-in-eclipse/104723/5 "2007-05-22T00:13:31Z")

</div>

Melissa,

Is Ruby on Rails installed?  
The bin directory is the directory in the installation directory.

thanks,  
Deepak

“removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:  
Hello,  
I am trying to load Ruby on Rails into Eclipse.

Before I get into my problem, I will tell you what I have done:  
I have downloaded Eclipse and Ruby.  
After downloading Ruby, I extracted it to my Eclipse folder.  
I have downloaded Ruby on Rails, I extracted RoR to its own file on my  
C Drive.

Here is the trouble:  
O’Reilly has put up a very nice walkthrough at:

> **[O'Reilly Media - Technology and Business Training](https://www.oreilly.com)**
>
> Gain technology and business knowledge and hone your skills with learning resources created and curated by O'Reilly's experts: live online training, video, books, our platform has content from 200+ of the world's best publishers.

I am going through this and it tells me to “Create a configuration,  
“Create Rails Application,” to create a Rails application. In the  
Location field, specify the rails.cmd file.”

In the picture the file extension is listed as, "C:\rubyonrails\bin  
\rails.cmd

I open my File Directory but I cannot find a “bin” file anywhere. My  
directory looks like this: C:/RubyonRails/Rails  
then the following directories: app, components, config, db, doc, lib,  
log, public, script, test, tmp, vendor.

I also looked through the zip file to see if a bin file was located  
there, and I did not see it.

Any help would be very appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 22, 2007, 2:35am UTC](https://www.ruby-forum.com/t/ruby-on-rails-in-eclipse/104723/6 "2007-05-22T02:35:40Z")

</div>

removed\_email\_address@domain.invalid wrote:

> > > Here is the trouble:  
> > > log, public, script, test, tmp, vendor.  
> > > never setup an environment like this before and I’m having quite a bit  
> > > of trouble. Any suggestions? Maybe tutorials or something of that  
> > > nature. I have downloaded Aptana, the Aptana plug-in for Eclipse, I’m  
> > > having trouble connecting the dots.

Did Instant Rails add the Ruby.cmd file to its Ruby\bin folder? Instant  
Rails includes a copy of Ruby in one of its folders, so you should have  
something like c:\InstantRails\Ruby\bin\ruby.cmd for the file.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 22, 2007, 1:47am UTC](https://www.ruby-forum.com/t/ruby-on-rails-in-eclipse/104723/7 "2007-05-22T01:47:37Z")

</div>

Melissa,

Install the Ruby on Rails Windows Installer, not the Instant Rails.  
[http://rubyforge.org/frs/?group\_id=167](http://rubyforge.org/frs/?group_id=167)

thanks,  
Deepak

“removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:  
On May 21, 1:17 pm, “Michael W. Ryder” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > Here is the trouble:  
> > I open my File Directory but I cannot find a “bin” file anywhere. My  
> > rails.cmd file in my ruby\bin file. Maybe that is where it needs to go  
> > for Eclipse also.- Hide quoted text -
> 
> - Show quoted text -

I just downloaded Instant Rails and extracted it but no luck. I’ve  
never setup an environment like this before and I’m having quite a bit  
of trouble. Any suggestions? Maybe tutorials or something of that  
nature. I have downloaded Aptana, the Aptana plug-in for Eclipse, I’m  
having trouble connecting the dots.

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 22, 2007, 2:40am UTC](https://www.ruby-forum.com/t/ruby-on-rails-in-eclipse/104723/8 "2007-05-22T02:40:40Z")

</div>

Michael W. Ryder wrote:

> > > > C Drive.  
> > > > directory looks like this: C:/RubyonRails/Rails
> > 
> > I just downloaded Instant Rails and extracted it but no luck. I’ve  
> > never setup an environment like this before and I’m having quite a bit  
> > of trouble. Any suggestions? Maybe tutorials or something of that  
> > nature. I have downloaded Aptana, the Aptana plug-in for Eclipse, I’m  
> > having trouble connecting the dots.
> 
> Did Instant Rails add the Ruby.cmd file to its Ruby\bin folder? Instant  
> Rails includes a copy of Ruby in one of its folders, so you should have  
> something like c:\InstantRails\Ruby\bin\ruby.cmd for the file.

Change all instances of ruby.cmd to rails.cmd in my reply. That’s what  
I get for trying to think while writing.
