Problem in installing gems

P

Pranjal Jain

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 :)
 
K

kranthi reddy

[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
 
K

kranthi reddy

[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
 
P

Pranjal Jain

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:)
 
K

kranthi reddy

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

Eric Hodel

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?
 
P

Pranjal Jain

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

Eric Hodel

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

Eric Hodel

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.
 

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,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top