[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby on Rails in Eclipse

Mellissa.McConnell@gmail.com

5/21/2007 8:02:00 PM

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:
http://www.oreillynet.com/pub/a/ruby/2007/04/26/ruby-on-rails-meets-ec...

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!

8 Answers

Michael W. Ryder

5/21/2007 8:17:00 PM

0

Mellissa.McConnell@gmail.com 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:
> http://www.oreillynet.com/pub/a/ruby/2007/04/26/ruby-on-rails-meets-ec...
>
> 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!
>

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.

Mellissa.McConnell@gmail.com

5/21/2007 11:39:00 PM

0

On May 21, 1:17 pm, "Michael W. Ryder" <_mwry...@worldnet.att.net>
wrote:
> Mellissa.McConn...@gmail.com 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:
> >http://www.oreillynet.com/pub/a/ruby/2007/04/26/ruby-on-rai......
>
> > 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!
>
> 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.- 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

5/22/2007 12:34:00 AM

0

Mellissa.McConnell@gmail.com wrote:
> On May 21, 1:17 pm, "Michael W. Ryder" <_mwry...@worldnet.att.net>
> wrote:
>> Mellissa.McConn...@gmail.com 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:
>>> http://www.oreillynet.com/pub/a/ruby/2007/04/26/ruby-on-rai......
>>> 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!
>> 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.- 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.
>

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.

Michael W. Ryder

5/22/2007 12:36:00 AM

0

Michael W. Ryder wrote:
> Mellissa.McConnell@gmail.com wrote:
>> On May 21, 1:17 pm, "Michael W. Ryder" <_mwry...@worldnet.att.net>
>> wrote:
>>> Mellissa.McConn...@gmail.com 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:
>>>> http://www.oreillynet.com/pub/a/ruby/2007/04/26/ruby-on-rai......
>>>>
>>>> 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!
>>> 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.- 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.
>>
>
> 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.

Al Nakba

1/3/2010 4:55:00 AM

0

On Jan 2, 2:20 pm, "Bolt Upright" <HughGRect...@merde.com> wrote:
> "Al Nakba" <williamhubb...@bluebottle.com> wrote in message
>
> news:2f7e7160-fff2-4cc0-bfe0-923a37fdbc55@j19g2000yqk.googlegroups.com...
> On Jan 2, 6:28 am, Johnny Asia <baying46...@mypacks.net> wrote:
>
>
>
>
>
> > The Rabbis handed the ambassador a Halachic Ruling signed by over 350
> > rabbis in Israel that forbids giving up land controlled by Israel
> > today.
>
> > Rabbis to US Ambassador: Time to 'Go Biblical' with Arabs
>
> > by Gil Ronen
>
> > (IsraelNN.com) A delegation of the Rabbinical Congress for Peace (RCP)
> > met with U.S. Ambassador to Israel, Mr. James Cunningham, today and
> > called for a reassessment of the entire U.S. policy vis-à-vis the
> > Israelis and Palestinians. The rabbis told Ambassador Cunningham that
> > it was time to try the Biblical approach to the dispute over the Land
> > of Israel.
>
> > Going Biblical
>
> > Rabbi Dov Lior, the Rabbi of Kiryat Arba-Hevron, said: "G-d gave the
> > US the power and influence to affect the rest of the world and
> > supporting Israel is the key to America's success."
>
> > Ambassador Cunningham told the rabbis that he does not see how the
> > problem can be solved “without taking into consideration the
> > Palestinians,” to which Rabbi Gold remarked: "Ever since we started
> > taking the Palestinians into consideration the situation only
> > worsened."
>
> > The ambassador asked the rabbis, "So what is your solution to the
> > problem?"
>
> > Rabbi Gerlitzky replied: "You must switch the entire approach to the
> > situation. We all believe in the Holy Bible and up until now we tried
> > every formula except for that which is delineated in the Bible. Let's
> > try it and who knows, Mr. Ambassador, maybe this is your defining
> > moment, that G-d Almighty has placed you in this capacity in order to
> > precipitate a new course which will bring a true peace to the entire
> > region."
>
> >http://www.israelnationalnews.com/News/News.a...
>
> geez.. you say it like it's a bad thing..
>
> Billy, I promise you that that particular crack is going to haunt you.- Hide quoted text -
>
> - Show quoted text -

not likely

Bolt Upright

1/3/2010 3:17:00 PM

0


"Al Nakba" <williamhubbard@bluebottle.com> wrote in message
news:f2a163ff-4315-449d-abd0-73ab3c776b2d@z41g2000yqz.googlegroups.com...
On Jan 2, 2:20 pm, "Bolt Upright" <HughGRect...@merde.com> wrote:
> "Al Nakba" <williamhubb...@bluebottle.com> wrote in message
>
> news:2f7e7160-fff2-4cc0-bfe0-923a37fdbc55@j19g2000yqk.googlegroups.com...
> On Jan 2, 6:28 am, Johnny Asia <baying46...@mypacks.net> wrote:
>
>
>
>
>
> > The Rabbis handed the ambassador a Halachic Ruling signed by over 350
> > rabbis in Israel that forbids giving up land controlled by Israel
> > today.
>
> > Rabbis to US Ambassador: Time to 'Go Biblical' with Arabs
>
> > by Gil Ronen
>
> > (IsraelNN.com) A delegation of the Rabbinical Congress for Peace (RCP)
> > met with U.S. Ambassador to Israel, Mr. James Cunningham, today and
> > called for a reassessment of the entire U.S. policy vis-à-vis the
> > Israelis and Palestinians. The rabbis told Ambassador Cunningham that
> > it was time to try the Biblical approach to the dispute over the Land
> > of Israel.
>
> > Going Biblical
>
> > Rabbi Dov Lior, the Rabbi of Kiryat Arba-Hevron, said: "G-d gave the
> > US the power and influence to affect the rest of the world and
> > supporting Israel is the key to America's success."
>
> > Ambassador Cunningham told the rabbis that he does not see how the
> > problem can be solved ?without taking into consideration the
> > Palestinians,? to which Rabbi Gold remarked: "Ever since we started
> > taking the Palestinians into consideration the situation only
> > worsened."
>
> > The ambassador asked the rabbis, "So what is your solution to the
> > problem?"
>
> > Rabbi Gerlitzky replied: "You must switch the entire approach to the
> > situation. We all believe in the Holy Bible and up until now we tried
> > every formula except for that which is delineated in the Bible. Let's
> > try it and who knows, Mr. Ambassador, maybe this is your defining
> > moment, that G-d Almighty has placed you in this capacity in order to
> > precipitate a new course which will bring a true peace to the entire
> > region."
>
> >http://www.israelnationalnews.com/News/News.a...
>
> geez.. you say it like it's a bad thing..
>
> Billy, I promise you that that particular crack is going to haunt you.-
> Hide quoted text -
>
> - Show quoted text -

>not likely

Extremely likely.


Aviroce

1/4/2010 3:34:00 AM

0

I DISAGREE. FIRST GAZA. THEN WHOLE WEST BANK. THEN WHOLE EAST
JERUSALEM. WE SHALL SEE WHO IS RIGHT.




On Jan 2, 8:55 pm, Al Nakba <williamhubb...@bluebottle.com> wrote:
> On Jan 2, 2:20 pm, "Bolt Upright" <HughGRect...@merde.com> wrote:
>
>
>
>
>
> > "Al Nakba" <williamhubb...@bluebottle.com> wrote in message
>
> >news:2f7e7160-fff2-4cc0-bfe0-923a37fdbc55@j19g2000yqk.googlegroups.com...
> > On Jan 2, 6:28 am, Johnny Asia <baying46...@mypacks.net> wrote:
>
> > > The Rabbis handed the ambassador a Halachic Ruling signed by over 350
> > > rabbis in Israel that forbids giving up land controlled by Israel
> > > today.
>
> > > Rabbis to US Ambassador: Time to 'Go Biblical' with Arabs
>
> > > by Gil Ronen
>
> > > (IsraelNN.com) A delegation of the Rabbinical Congress for Peace (RCP)
> > > met with U.S. Ambassador to Israel, Mr. James Cunningham, today and
> > > called for a reassessment of the entire U.S. policy vis-à-vis the
> > > Israelis and Palestinians. The rabbis told Ambassador Cunningham that
> > > it was time to try the Biblical approach to the dispute over the Land
> > > of Israel.
>
> > > Going Biblical
>
> > > Rabbi Dov Lior, the Rabbi of Kiryat Arba-Hevron, said: "G-d gave the
> > > US the power and influence to affect the rest of the world and
> > > supporting Israel is the key to America's success."
>
> > > Ambassador Cunningham told the rabbis that he does not see how the
> > > problem can be solved “without taking into consideration the
> > > Palestinians,” to which Rabbi Gold remarked: "Ever since we started
> > > taking the Palestinians into consideration the situation only
> > > worsened."
>
> > > The ambassador asked the rabbis, "So what is your solution to the
> > > problem?"
>
> > > Rabbi Gerlitzky replied: "You must switch the entire approach to the
> > > situation. We all believe in the Holy Bible and up until now we tried
> > > every formula except for that which is delineated in the Bible. Let's
> > > try it and who knows, Mr. Ambassador, maybe this is your defining
> > > moment, that G-d Almighty has placed you in this capacity in order to
> > > precipitate a new course which will bring a true peace to the entire
> > > region."
>
> > >http://www.israelnationalnews.com/News/News.a...
>
> > geez.. you say it like it's a bad thing..
>
> > Billy, I promise you that that particular crack is going to haunt you.- Hide quoted text -
>
> > - Show quoted text -
>
> not likely- Hide quoted text -
>
> - Show quoted text -

Aviroce

1/4/2010 3:35:00 AM

0

On Jan 3, 7:17 am, "Bolt Upright" <HughGRect...@merde.com> wrote:
> "Al Nakba" <williamhubb...@bluebottle.com> wrote in message
>
> news:f2a163ff-4315-449d-abd0-73ab3c776b2d@z41g2000yqz.googlegroups.com...
> On Jan 2, 2:20 pm, "Bolt Upright" <HughGRect...@merde.com> wrote:
>
>
>
>
>
> > "Al Nakba" <williamhubb...@bluebottle.com> wrote in message
>
> >news:2f7e7160-fff2-4cc0-bfe0-923a37fdbc55@j19g2000yqk.googlegroups.com...
> > On Jan 2, 6:28 am, Johnny Asia <baying46...@mypacks.net> wrote:
>
> > > The Rabbis handed the ambassador a Halachic Ruling signed by over 350
> > > rabbis in Israel that forbids giving up land controlled by Israel
> > > today.
>
> > > Rabbis to US Ambassador: Time to 'Go Biblical' with Arabs
>
> > > by Gil Ronen
>
> > > (IsraelNN.com) A delegation of the Rabbinical Congress for Peace (RCP)
> > > met with U.S. Ambassador to Israel, Mr. James Cunningham, today and
> > > called for a reassessment of the entire U.S. policy vis-à-vis the
> > > Israelis and Palestinians. The rabbis told Ambassador Cunningham that
> > > it was time to try the Biblical approach to the dispute over the Land
> > > of Israel.
>
> > > Going Biblical
>
> > > Rabbi Dov Lior, the Rabbi of Kiryat Arba-Hevron, said: "G-d gave the
> > > US the power and influence to affect the rest of the world and
> > > supporting Israel is the key to America's success."
>
> > > Ambassador Cunningham told the rabbis that he does not see how the
> > > problem can be solved “without taking into consideration the
> > > Palestinians,” to which Rabbi Gold remarked: "Ever since we started
> > > taking the Palestinians into consideration the situation only
> > > worsened."
>
> > > The ambassador asked the rabbis, "So what is your solution to the
> > > problem?"
>
> > > Rabbi Gerlitzky replied: "You must switch the entire approach to the
> > > situation. We all believe in the Holy Bible and up until now we tried
> > > every formula except for that which is delineated in the Bible. Let's
> > > try it and who knows, Mr. Ambassador, maybe this is your defining
> > > moment, that G-d Almighty has placed you in this capacity in order to
> > > precipitate a new course which will bring a true peace to the entire
> > > region."
>
> > >http://www.israelnationalnews.com/News/News.a...
>
> > geez.. you say it like it's a bad thing..
>
> > Billy, I promise you that that particular crack is going to haunt you.-
> > Hide quoted text -
>
> > - Show quoted text -
> >not likely
>
> Extremely likely.- Hide quoted text -
>
> - Show quoted text -

YES, SIR.