On Wed, Jun 1, 2011 at 2:11 AM, Neha Thakur <thaku...@gmail.com> wrote:
> Hi everyone,
>
> I have downloaded and saved the folder in C:
> \Ruby192\rspec-1.2.9.rc1\rspec-1.2.9.rc1
> I am into the folder mentioned below and is trying to install rspec
> but I am not able to do so...Can someone help me with this..
>
> C:\Ruby192\rspec-1.2.9.rc1\rspec-1.2.9.rc1>gem install spec
> ERROR:  Could not find a valid gem 'spec' (>= 0) in any repository
> ERROR:  Possible alternatives: jspec, mspec, rspec, spec1, spec2
>
> C:\Ruby192\rspec-1.2.9.rc1\rspec-1.2.9.rc1>gem install rspec
> ERROR:  Could not find a valid gem 'rspec' (>= 0) in any repository
> ERROR:  Possible alternatives: rspec

Hello, a couple of questions that will help us provide you answers to
your problem:

1) What version of Ruby are you using? (execute "ruby -v" in the
console to get the answer)

2) Why you manually downloaded the gems? are you behind a proxy?


Seems to me that you downloaded *and* extracted the gem contents and
are attempting to install them, but at the same time you're receiving
errors from RubyGems about it.

Can you please attempt the following?

Outside any directory of any of the downloaded gems where put, please try:

gem install rspec

That single command should connect to rubygems.org, download latest
information, find the gems, download *and* install them for you.

-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to