Problem in installing gems

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 :slight_smile:

···

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

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 :slight_smile:
--
Posted via http://www.ruby-forum.com/\.

Are you behind a firewall?

···

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?

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-forum.com/\.

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-forum.com/.

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-forum.com/\.

Sorry, I meant proxy server. My fingers slipped.

···

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.

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-forum.com/\.

Yes
I am behind the firewall as well as proxy server :frowning:

···

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

#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.rubyforge.org

  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-forum.com/\.

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.

···

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

Yes
I am behind the firewall as well as proxy server :frowning: