Error Install ruby (newbie)

A

andre hartawan

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
 
J

Jan Svitok

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)
 
D

David Roberts

andre said:
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/
_______________________________________________________________________________
 
A

andre hartawan

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="<!-- HI -->"
... 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="<!-- The header part o
f this layout -->"
... 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 Roberts said:
andre said:
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/

_______________________________________________________________________________




____________________________________________________________________________________
Sponsored Link

Online degrees - find the right program to advance your career.
www.nextag.com
 
D

David Roberts

andre said:
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

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
 
J

Jan Svitok

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=3D17,
text=3D"<!-- HI -->"
... 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=3D17,
text=3D"<!-- The header part o
f this layout -->"
... 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 =FB-remote (> 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.
 
A

andre hartawan

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 Svitok said:
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="<!-- HI -->"
... 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="<!-- The header part o
f this layout -->"
... 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 Roberts said:
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 -
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.




____________________________________________________________________________________
Sponsored Link

Online degrees - find the right program to advance your career.
www.nextag.com
 
J

Jan Svitok

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 Svitok said:
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=3D17,
text=3D"<!-- HI -->"
... 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=3D17,
text=3D"<!-- The header part o
f this layout -->"
... 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 =FB-remote (> 0) in the repository


please advice
andre





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 -
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.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,279
Latest member
LaRoseDermaBottle

Latest Threads

Top