Forum: Ruby on Rails setup rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E6ce854040e4774d54826e3bdbb7edf6?d=identicon&s=25 Ideale Ideale (ideale)
on 2008-11-29 22:49
Hi

I m begining in Ruby

I follow this tuotiriel
http://wiki.rubyonrails.com/rails/pages/RailsOnWindows

After I setup, I typed this command
gem update --system

But it says, this command is unknown ?!!!
4c438a80fc30661ad619ea177cf9cbd0?d=identicon&s=25 Freddy Andersen (Guest)
on 2008-11-30 01:15
(Received via mailing list)
Whats the exact message you get? And is this on a linux/mac or windows
desktop?
4b0889adddec0b9bae5435e0c233b1e3?d=identicon&s=25 Davo (Guest)
on 2008-11-30 02:58
(Received via mailing list)
What O/S are you on ?
Has Gem been previously installed somehow ?
gem update is only relevant if it has previously been installed.
More info and I'm sure help will come !
cheers Dave


On Nov 30, 6:49 am, Ideale Ideale <rails-mailing-l...@andreas-s.net>
E6ce854040e4774d54826e3bdbb7edf6?d=identicon&s=25 Ideale Ideale (ideale)
on 2008-11-30 05:39
Davo wrote:
> What O/S are you on ?
> Has Gem been previously installed somehow ?
> gem update is only relevant if it has previously been installed.
> More info and I'm sure help will come !
> cheers Dave
>
>
> On Nov 30, 6:49�am, Ideale Ideale <rails-mailing-l...@andreas-s.net>

My OS is Windows ! and it says that it does not recognize the command
unless I go to c:/ruby/bin/

???
E6ce854040e4774d54826e3bdbb7edf6?d=identicon&s=25 Ideale Ideale (ideale)
on 2008-11-30 05:47
Ideale Ideale wrote:
> Davo wrote:
>> What O/S are you on ?
>> Has Gem been previously installed somehow ?
>> gem update is only relevant if it has previously been installed.
>> More info and I'm sure help will come !
>> cheers Dave
>>
>>
>> On Nov 30, 6:49�am, Ideale Ideale <rails-mailing-l...@andreas-s.net>
>
> My OS is Windows ! and it says that it does not recognize the command
> unless I go to c:/ruby/bin/
>
> ???

The CLASSPATH WAS :
.;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip

I CHANGED IT TO
.;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;C:\ruby\bin

IS THAT OK ? :-) It does not work yet ? :-(
D3fe2dc4435cdd79e58d3e1380a557a1?d=identicon&s=25 Teedub (Guest)
on 2008-11-30 06:05
(Received via mailing list)
Your path doe not have correct entry "C:\ruby\bin"

I found this :


Re: how do you run ruby on windows
Posted by Michael Tomer (michael_tomer)
on 20.11.2008 17:15

Just in case you are having trouble with your Windows path variable,
here's how to add a folder to it:

*Go to your desktop and right click "My Computer".

*Select "properties" from the menu.

*Click the "Advanced" tab.

*At the bottom of the window, there's a button labeled "Environment
Variables". Click it.

*There are two listboxes on the window, the bottom one is called
"System
variables". Scroll through that box until you come across "Path".
Select
"Path" and click the "Edit" button.

*Click the "Variable value" textbox and hit the "End" key on your
keyboard. Type a semi-colon followed by the absolute path to your
ruby
bin folder.

Also, you can always check what folder IRB is running in by typing
"Dir.pwd". You can get a list of all the .rb file in the folder IRB
is
currently operating in with "Dir.glob('*.rb')". Also, you can change
the
path that IRB is operating in with "Dir.chdir('c:\my_ruby_files\')".



On Nov 29, 8:47 pm, Ideale Ideale <rails-mailing-l...@andreas-s.net>
E6ce854040e4774d54826e3bdbb7edf6?d=identicon&s=25 Ideale Ideale (ideale)
on 2008-11-30 07:02
Teedub wrote:
> Your path doe not have correct entry "C:\ruby\bin"
>
> I found this :
>
>
> Re: how do you run ruby on windows
> Posted by Michael Tomer (michael_tomer)
> on 20.11.2008 17:15
>
> Just in case you are having trouble with your Windows path variable,
> here's how to add a folder to it:
>
> *Go to your desktop and right click "My Computer".
>
> *Select "properties" from the menu.
>
> *Click the "Advanced" tab.
>
> *At the bottom of the window, there's a button labeled "Environment
> Variables". Click it.
>
> *There are two listboxes on the window, the bottom one is called
> "System
> variables". Scroll through that box until you come across "Path".
> Select
> "Path" and click the "Edit" button.
>
> *Click the "Variable value" textbox and hit the "End" key on your
> keyboard. Type a semi-colon followed by the absolute path to your
> ruby
> bin folder.
>
> Also, you can always check what folder IRB is running in by typing
> "Dir.pwd". You can get a list of all the .rb file in the folder IRB
> is
> currently operating in with "Dir.glob('*.rb')". Also, you can change
> the
> path that IRB is operating in with "Dir.chdir('c:\my_ruby_files\')".
>
>
>
> On Nov 29, 8:47�pm, Ideale Ideale <rails-mailing-l...@andreas-s.net>

OH MY GOD ! That s what I did ! but it does not work !!!!!!! :'''(((

old
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\QuickTime\QTSystem\

NEW
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program
Files\QuickTime\QTSystem\;C:\ruby\bin\

IT DOES NOT WORK, Please, let me know what to do
E6ce854040e4774d54826e3bdbb7edf6?d=identicon&s=25 Ideale Ideale (ideale)
on 2008-11-30 16:38
please help ;((
316c03a99e8ed311e5462d94f085fc2e?d=identicon&s=25 John Ivanoff (Guest)
on 2008-12-01 01:26
(Received via mailing list)
http://instantrails.rubyforge.org/wiki/wiki.pl

http://instantrails.rubyforge.org/wiki/wiki.pl?Rol...

On Nov 30, 9:38 am, Ideale Ideale <rails-mailing-l...@andreas-s.net>
E6ce854040e4774d54826e3bdbb7edf6?d=identicon&s=25 Ideale Ideale (ideale)
on 2008-12-01 04:20
John Ivanoff wrote:
> http://instantrails.rubyforge.org/wiki/wiki.pl
>
> 
http://instantrails.rubyforge.org/wiki/wiki.pl?Rol...
>
> On Nov 30, 9:38�am, Ideale Ideale <rails-mailing-l...@andreas-s.net>

what a silly girl I am :((( I installed rails BUT NOT RUBY !!!
Now I'm installing ruby first before installing rails ...
E6ce854040e4774d54826e3bdbb7edf6?d=identicon&s=25 Ideale Ideale (ideale)
on 2008-12-01 04:28
Ideale Ideale wrote:
> John Ivanoff wrote:
>> http://instantrails.rubyforge.org/wiki/wiki.pl
>>
>> 
http://instantrails.rubyforge.org/wiki/wiki.pl?Rol...
>>
>> On Nov 30, 9:38�am, Ideale Ideale <rails-mailing-l...@andreas-s.net>
>
> what a silly girl I am :((( I installed rails BUT NOT RUBY !!!
> Now I'm installing ruby first before installing rails ...

Oh ! no, I think ruby = rails ? The two files I'm trying to download are
finally the same ...

OK, Please, tell me if I'm on the right way

FIRST
I uninstalled ruby from my computer

SECOND
I download and install this link for windows
http://wiki.rubyonrails.org/rails/pages/GettingSta...

Is that ok ?
E6ce854040e4774d54826e3bdbb7edf6?d=identicon&s=25 Ideale Ideale (ideale)
on 2008-12-01 04:32
Ideale Ideale wrote:
> Ideale Ideale wrote:
>> John Ivanoff wrote:
>>> http://instantrails.rubyforge.org/wiki/wiki.pl
>>>
>>> 
http://instantrails.rubyforge.org/wiki/wiki.pl?Rol...
>>>
>>> On Nov 30, 9:38�am, Ideale Ideale <rails-mailing-l...@andreas-s.net>
>>
>> what a silly girl I am :((( I installed rails BUT NOT RUBY !!!
>> Now I'm installing ruby first before installing rails ...
>
> Oh ! no, I think ruby = rails ? The two files I'm trying to download are
> finally the same ...
>
> OK, Please, tell me if I'm on the right way
>
> FIRST
> I uninstalled ruby from my computer
>
> SECOND
> I download and install this link for windows
> http://wiki.rubyonrails.org/rails/pages/GettingSta...
>
> Is that ok ?

OK ! IT WOOOOORKS !!!! BUT I still dont understand ! I did not do any
thing I just uninstalled and reinstalled ruby again ! and now it works
!!!

sooo strange !
This topic is locked and can not be replied to.