Gem install error?

i tried to install my own gem and got this:

C:\Users\Al Baker\Documents\Programming\RuBy>gem install
‘string_extensions’
ERROR: Could not find a valid gem ‘string_extensions’ (>= 0) in any
repository
ERROR: Possible alternatives: string_extensor, spine-extensions,
ruby_extension
s, string_extensions_refi, string_extendr

On 11/30/2012 03:34 PM, Al Baker wrote:

i tried to install my own gem and got this:

C:\Users\Al Baker\Documents\Programming\RuBy>gem install
‘string_extensions’
ERROR: Could not find a valid gem ‘string_extensions’ (>= 0) in any
repository
ERROR: Possible alternatives: string_extensor, spine-extensions,
ruby_extension
s, string_extensions_refi, string_extendr

You mean a gem you built on your local machine? Then you need to provide
the full file name, like:

gem install string_extensions-0.0.1.gem

-Justin

tried that and got:
C:\Users\Al Baker\Documents\Programming\RuBy>gem install
string_extensions-0.0.1
.gem
ERROR: Could not find a valid gem ‘string_extensions-0.0.1.gem’ (>= 0)
in any r
epository
ERROR: Possible alternatives: string_extensions_refi

C:\Users\Al Baker\Documents\Programming\RuBy>gem install
‘string_extensions-0.0.
1.gem’
ERROR: Could not find a valid gem ‘string_extensions-0.0.1.gem’ (>= 0)
in any r
epository

2012/12/1 Justin C. [email protected]:

You mean a gem you built on your local machine? Then you need to provide the
full file name, like:

gem install string_extensions-0.0.1.gem

-Justin

Or just gem install string_extensions --local.

– Matma R.

Am 01.12.2012 01:59, schrieb Al Baker:

tried that and got:
C:\Users\Al Baker\Documents\Programming\RuBy>gem install
string_extensions-0.0.1
.gem
ERROR: Could not find a valid gem ‘string_extensions-0.0.1.gem’ (>= 0)
in any r
epository

You made of course sure that the file exists in the directory you
are issuing the `gem install’ command from?

And you built the gem with `gem build’ before trying to install it?

Bartosz Dziewoński wrote in post #1087427:

2012/12/1 Justin C. [email protected]:

You mean a gem you built on your local machine? Then you need to provide the
full file name, like:

gem install string_extensions-0.0.1.gem

-Justin

Or just gem install string_extensions --local.

tried that and got the same error. and YES i did do that,Guest!

Dunno if this will help, since you’re on Windows and I’m on Mac OS,
but I just built and installed a simple test gem using the following
steps:

11:36 ~/projects/testcases/gems $ bundle gem xyz
11:37 ~/projects/testcases/gems $ cd xyz
11:44 ~/projects/testcases/gems/xyz (master)$ vim lib/xyz.rb
11:44 ~/projects/testcases/gems/xyz (master)$ vim lib/xyz.gemspec
11:44 ~/projects/testcases/gems/xyz (master)$ gem build xyz.gemspec
11:45 ~/projects/testcases/gems/xyz (master)$ gem install --local xyz
11:46 ~/projects/testcases/gems/xyz (master)$ gem list --local

*** LOCAL GEMS ***

bundler (1.2.1)
rvm (1.11.3.5)
xyz (0.0.1)

HTH!