Ruby on Rails in Eclipse

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:

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!

[email protected] 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.

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 [email protected] 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)

On May 21, 1:17 pm, “Michael W. Ryder” [email protected]
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.

Melissa,

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

thanks,
Deepak

[email protected][email protected] 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:

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!

[email protected] 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.

Melissa,

Install the Ruby on Rails Windows Installer, not the Instant Rails.
http://rubyforge.org/frs/?group_id=167

thanks,
Deepak

[email protected][email protected] wrote:
On May 21, 1:17 pm, “Michael W. Ryder” [email protected]
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.

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.