[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

Problem in installing gems

Pranjal Jain

4/21/2008 7:41:00 AM

Hi friends
I am trying to install the gems, but I am having the problem in
installing them.
the error is as follows:

ERROR: While executing gem...(Gem::InstallError)
invalid gem format for
C:/ruby/lib/ruby/gems/1.8/cache/rspec-1.1.3.gem


Similarly when i tired to install englisg gem it said the error as
follows:

ERROR: While executing gem...(Gem::GemNotFoundException)
Could not find english-0.2.0(>0)in any repository

Please suggest what is this problem & how can I solve it?

Thanks in advance :)
--
Posted via http://www.ruby-....

10 Answers

kranthi reddy

4/21/2008 10:32:00 AM

0

[Note: parts of this message were removed to make it a legal post.]

Hey pranjal,
I think the u need to re-setup the ruby gems.
Once the setup is done please type gem in the command prompt and see wether
"gem" is working or not...
If it works then the gem install english will also work.
kranthi

On Mon, Apr 21, 2008 at 1:10 PM, Pranjal Jain <pranjal.jain123@gmail.com>
wrote:

> Hi friends
> I am trying to install the gems, but I am having the problem in
> installing them.
> the error is as follows:
>
> ERROR: While executing gem...(Gem::InstallError)
> invalid gem format for
> C:/ruby/lib/ruby/gems/1.8/cache/rspec-1.1.3.gem
>
>
> Similarly when i tired to install englisg gem it said the error as
> follows:
>
> ERROR: While executing gem...(Gem::GemNotFoundException)
> Could not find english-0.2.0(>0)in any repository
>
> Please suggest what is this problem & how can I solve it?
>
> Thanks in advance :)
> --
> Posted via http://www.ruby-....
>
>

Pranjal Jain

4/21/2008 11:13:00 AM

0

Hi Dear

Gem is working but the installations of others are not working.

kranthi reddy wrote:
> Hey pranjal,
> I think the u need to re-setup the ruby gems.
> Once the setup is done please type gem in the command prompt and see
> wether
> "gem" is working or not...
> If it works then the gem install english will also work.
> kranthi
>
> On Mon, Apr 21, 2008 at 1:10 PM, Pranjal Jain
> <pranjal.jain123@gmail.com>

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

kranthi reddy

4/21/2008 11:19:00 AM

0

[Note: parts of this message were removed to make it a legal post.]

Installation of others in sense of other gems...?
i have installed that english gem for trail and it worked fine with
mine.....
I used gem command to install all sorts like radiant...certain rails
gems...did you install multiple version of ruby or..is there ruby
installed in mulitple places...If yes even in that case gem command yet
times do no work

On Mon, Apr 21, 2008 at 4:42 PM, Pranjal Jain <pranjal.jain123@gmail.com>
wrote:

> Hi Dear
>
> Gem is working but the installations of others are not working.
>
> kranthi reddy wrote:
> > Hey pranjal,
> > I think the u need to re-setup the ruby gems.
> > Once the setup is done please type gem in the command prompt and see
> > wether
> > "gem" is working or not...
> > If it works then the gem install english will also work.
> > kranthi
> >
> > On Mon, Apr 21, 2008 at 1:10 PM, Pranjal Jain
> > <pranjal.jain123@gmail.com>
>
> --
> Posted via http://www.ruby-....
>
>

Pranjal Jain

4/21/2008 11:26:00 AM

0

I mean i tried to install some of the following gems

gem install colorize
gem install english-0.2.0
gem install rspec

each of the gem was giving errors.
Also I want to highlight that I am not using ruby on Rails Framework
I am using only "Ruby" as I am beginner on this scripting language.

Thanks for the reply:)

kranthi reddy wrote:
> Installation of others in sense of other gems...?
> i have installed that english gem for trail and it worked fine with
> mine.....
> I used gem command to install all sorts like radiant...certain rails
> gems...did you install multiple version of ruby or..is there ruby
> installed in mulitple places...If yes even in that case gem command
> yet
> times do no work
>
> On Mon, Apr 21, 2008 at 4:42 PM, Pranjal Jain
> <pranjal.jain123@gmail.com>

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

kranthi reddy

4/21/2008 11:57:00 AM

0

[Note: parts of this message were removed to make it a legal post.]

#gem

RubyGems is a sophisticated package manager for Ruby. This is a
basic help message containing pointers to more information.

Usage:
gem -h/--help
gem -v/--version
gem command [arguments...] [options...]

Examples:
gem install rake
gem list --local
gem build package.gemspec
gem help install

Further help:
gem help commands list all 'gem' commands
gem help examples show some examples of usage
gem help platforms show information about platforms
gem help <COMMAND> show help on COMMAND
(e.g. 'gem help install')
Further information:
http://rubygems.rub...

hey if this is the screenshot u get when u type gem then ur gem setup is
correct or else there is some mistake..



On Mon, Apr 21, 2008 at 4:56 PM, Pranjal Jain <pranjal.jain123@gmail.com>
wrote:

> I mean i tried to install some of the following gems
>
> gem install colorize
> gem install english-0.2.0
> gem install rspec
>
> each of the gem was giving errors.
> Also I want to highlight that I am not using ruby on Rails Framework
> I am using only "Ruby" as I am beginner on this scripting language.
>
> Thanks for the reply:)
>
> kranthi reddy wrote:
> > Installation of others in sense of other gems...?
> > i have installed that english gem for trail and it worked fine with
> > mine.....
> > I used gem command to install all sorts like radiant...certain rails
> > gems...did you install multiple version of ruby or..is there ruby
> > installed in mulitple places...If yes even in that case gem command
> > yet
> > times do no work
> >
> > On Mon, Apr 21, 2008 at 4:42 PM, Pranjal Jain
> > <pranjal.jain123@gmail.com>
>
> --
> Posted via http://www.ruby-....
>
>

Eric Hodel

4/22/2008 3:08:00 AM

0

On Apr 21, 2008, at 00:40 AM, Pranjal Jain wrote:

> Hi friends
> I am trying to install the gems, but I am having the problem in
> installing them.
> the error is as follows:
>
> ERROR: While executing gem...(Gem::InstallError)
> invalid gem format for
> C:/ruby/lib/ruby/gems/1.8/cache/rspec-1.1.3.gem
>
>
> Similarly when i tired to install englisg gem it said the error as
> follows:
>
> ERROR: While executing gem...(Gem::GemNotFoundException)
> Could not find english-0.2.0(>0)in any repository
>
> Please suggest what is this problem & how can I solve it?

Are you behind a firewall?

Pranjal Jain

4/22/2008 4:00:00 AM

0

Hi there
Yes I am behind the firewall. But I dnt think it is an issue which is
constraining from installing.
--
Posted via http://www.ruby-....

Eric Hodel

4/22/2008 4:29:00 AM

0

On Apr 21, 2008, at 21:00 PM, Pranjal Jain wrote:

> Hi there
> Yes I am behind the firewall. But I dnt think it is an issue which is
> constraining from installing.

Sorry, I meant proxy server. My fingers slipped.

Pranjal Jain

4/22/2008 4:35:00 AM

0

Yes
I am behind the firewall as well as proxy server :(
--
Posted via http://www.ruby-....

Eric Hodel

4/22/2008 8:31:00 PM

0

On Apr 21, 2008, at 21:35 PM, Pranjal Jain wrote:

> Yes
> I am behind the firewall as well as proxy server :(

You will need to tell RubyGems about your proxy server. You can use
either the -p/--http-proxy option, or you can use the HTTP_PROXY
environment variable.