[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Error Install ruby (newbie

andre hartawan

11/21/2006 11:12:00 AM

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

7 Answers

Jano Svitok

11/21/2006 11:50:00 AM

0

On 11/21/06, andre hartawan <total_sc@yahoo.com> 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)

David Roberts

11/21/2006 4:14:00 PM

0

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


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

andre hartawan

11/22/2006 3:02:00 AM

0

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.rub...
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 <smartgpx@gmail.com> wrote:

> 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.ruby...
>
>
_______________________________________________________________________________
>
>
> --
> Posted via http://www.ruby-....
>
>




____________________________________________________________________________________
Sponsored Link

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

David Roberts

11/22/2006 7:10:00 AM

0

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 Roberts <smartgpx@gmail.com> 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.ruby...
>>
>>
>

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

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

Jano Svitok

11/22/2006 8:02:00 AM

0

On 11/22/06, andre hartawan <total_sc@yahoo.com> 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
> Bulk updating Gem source index for:
> http://gems.rub...
> 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 <smartgpx@gmail.com> wrote:
>
> > 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

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

11/22/2006 8:26:00 AM

0

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 <jan.svitok@gmail.com> wrote:

> On 11/22/06, andre hartawan <total_sc@yahoo.com>
> 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
> > Bulk updating Gem source index for:
> > http://gems.rub...
> > 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 <smartgpx@gmail.com> wrote:
> >
> > > 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
>
> 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

Jano Svitok

11/22/2006 8:30:00 AM

0

On 11/22/06, andre hartawan <total_sc@yahoo.com> wrote:
> 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 <jan.svitok@gmail.com> wrote:
>
> > On 11/22/06, andre hartawan <total_sc@yahoo.com>
> > 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
> > > Bulk updating Gem source index for:
> > > http://gems.rub...
> > > 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 <smartgpx@gmail.com> wrote:
> > >
> > > > 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
> >
> > 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.