Error Install ruby (newbie)

I have installed ruby on windows using (One-Click
Installer ver ,then in command prompt
i try to run c:\ruby>gem install rails - remote
,but an error come up (Error : While executing gem…
(Gem:: GemNotFoundException)Could not find - <>0) in
the repository)

please advice
andre


Sponsored Link

Compare mortgage rates for today.
Get up to 5 free quotes.
Www2.nextag.com

On 11/21/06, andre hartawan [email protected] wrote:

I have installed ruby on windows using (One-Click
Installer ver ,then in command prompt
i try to run c:\ruby>gem install rails - remote
,but an error come up (Error : While executing gem…
(Gem:: GemNotFoundException)Could not find - <>0) in
the repository)

try just

gem install rails

or

gem install rails --remote

(–remote is by default on, at least in the one-click installer)

andre hartawan wrote:

I have installed ruby on windows using (One-Click
Installer ver ,then in command prompt
i try to run c:\ruby>gem install rails - remote
,but an error come up (Error : While executing gem…
(Gem:: GemNotFoundException)Could not find - <>0) in
the repository)

please advice
andre

Jan’s answer is correct. [You don’t need the option at all,
but if you put it there must be no space between the introducer
and the option name: it must be -r or --remote.]

But can I ask whether you have considered installing “Instant Rails”?
It is a ‘one click’ solution, similar to One Click Ruby. This might
be an easier way to get up and running.

Details here - http://instantrails.rubyforge.org/


thnx for advice,I have alredy followed your
instruction but the error still come up ,you can look
the log bellow,sory i have to copy paste it

C:\ruby>gem install rails --remote
Bulk updating Gem source index for:
http://gems.rubyforge.org
Install required dependency activesupport? [Yn] y
Install required dependency activerecord? [Yn] y
Install required dependency actionpack? [Yn] y
Install required dependency actionmailer? [Yn] y
Install required dependency actionwebservice? [Yn] y
Successfully installed rails-1.1.6
Successfully installed activesupport-1.3.1
Successfully installed activerecord-1.14.4
Successfully installed actionpack-1.12.5
Successfully installed actionmailer-1.2.5
Successfully installed actionwebservice-1.1.6
Installing ri documentation for activesupport-1.3.1…
While generating documentation for activesupport-1.3.1
… MESSAGE: Unhandled special: Special: type=17,
text=“”
… RDOC args: --ri --op
c:/ruby/lib/ruby/gems/1.8/doc/activesupport-1.3.1/ri

quiet lib
(continuing with the rest of the installation)
Installing ri documentation for activerecord-1.14.4…
Installing ri documentation for actionpack-1.12.5…
While generating documentation for actionpack-1.12.5
… MESSAGE: Unhandled special: Special: type=17,
text=“”
… RDOC args: --ri --op
c:/ruby/lib/ruby/gems/1.8/doc/actionpack-1.12.5/ri
–qu
iet lib
(continuing with the rest of the installation)
Installing ri documentation for actionmailer-1.2.5…
Installing ri documentation for
actionwebservice-1.1.6…
Installing RDoc documentation for
activesupport-1.3.1…
Installing RDoc documentation for
activerecord-1.14.4…
Installing RDoc documentation for actionpack-1.12.5…
Installing RDoc documentation for
actionmailer-1.2.5…
Installing RDoc documentation for
actionwebservice-1.1.6…
ERROR: While executing gem …
(Gem::GemNotFoundException)
Could not find û-remote (> 0) in the repository

please advice
andre

— David R. [email protected] wrote:

please advice
“Instant Rails”?
It is a ‘one click’ solution, similar to One Click
Ruby. This might
be an easier way to get up and running.

Details here - http://instantrails.rubyforge.org/



Posted via http://www.ruby-forum.com/.


Sponsored Link

Online degrees - find the right program to advance your career.

On 11/22/06, andre hartawan [email protected] wrote:

Install required dependency actionmailer? [Yn] y
text=“”
f this layout -->"
Installing RDoc documentation for

Installer ver ,then in command prompt
i try to run c:\ruby>gem install rails - remote
,but an error come up (Error : While executing
gem…
(Gem:: GemNotFoundException)Could not find - <>0)
in
the repository)

please advice
andre

Now you have rails installed. Never mind the last error. Next time,
just don’t add the --remote or still better take David’s advice and
use InstantRails - it will setup apache,mysql,ruby and rails for you.

andre hartawan wrote:

thnx for advice,I have alredy followed your
instruction but the error still come up ,you can look
the log bellow,sory i have to copy paste it

C:\ruby>gem install rails --remote

[gem installation dialogue suppressed. dj]

please advice
andre

— David R. [email protected] wrote:

please advice
“Instant Rails”?
It is a ‘one click’ solution, similar to One Click
Ruby. This might
be an easier way to get up and running.

Details here - http://instantrails.rubyforge.org/

The error you have reported is not the result of following
the advice from me that you quoted, so I have nothing
further to contribute.

David

On 11/22/06, andre hartawan [email protected] wrote:

thnx for advice,I have alredy followed your
Install required dependency actionmailer? [Yn] y
While generating documentation for
Installing ri documentation for
c:/ruby/lib/ruby/gems/1.8/doc/actionpack-1.12.5/ri
activerecord-1.14.4…

I have installed ruby on windows using

please advice
andre

Now you have rails installed. Never mind the last
error. Next time,
just don’t add the --remote or still better take
David’s advice and
use InstantRails - it will setup apache,mysql,ruby
and rails for you.

Instantrails has the same as you have now most problably. Either it
has oracle adapter or you have to install it manually anyway. So you
don’t loose anything.

ok ,but can i use instant rails to connect to another
database (oracle),since instant rails just use
mysql,because my database using oracle.

— Jan S. [email protected] wrote:

Install required dependency activesupport? [Yn] y
Successfully installed actionwebservice-1.1.6

text="<!-- The header part o
Installing RDoc documentation for
(Gem::GemNotFoundException)
— David R. [email protected] wrote:
<>0)
use InstantRails - it will setup apache,mysql,ruby
and rails for you.


Sponsored Link

Online degrees - find the right program to advance your career.