If any of you are not aware of the power and ease of use of RubyGems,
then you might find the following introduction entertaining and
useful. It covers all the important operations, but is short enough
to read right through.
If any of you are not aware of the power and ease of use of RubyGems,
then you might find the following introduction entertaining and
useful. It covers all the important operations, but is short enough
to read right through.
C:\ruby\gems\rubygems-0.2.0>gem --remote -list
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:78:in find_latest_v alid_package_in_caches': Could not find -list > 0.0.0 (RuntimeError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:15:in
install’
from c:/ruby/bin/gem:74
C:\ruby\gems\rubygems-0.2.0>
···
What did i do wrong ? The install went smoothe…Which remote server
am i accessing?
Also, when i tried --remote-list, like it looks on the page of course i
get an error because a space is necessary --remote -list(for people who
dont know about options like me)
Fantastic! Thanks for this, Gavin S. This was exactly the sort of thing
I needed to stop ignoring this blossoming tool and figure out what it’s
all about.
···
On Mar 24, 2004, at 2:49 PM, Gavin Sinclair wrote:
If any of you are not aware of the power and ease of use of RubyGems,
then you might find the following introduction entertaining and
useful. It covers all the important operations, but is short enough
to read right through.
Did you get the CVS version of RubyGems? The latest CVS version has been
refactored to make the --remote/–local destinction orthoganal to the
other options. So you would need to say …
Did you get the CVS version of RubyGems? The latest CVS version has been
refactored to make the --remote/–local destinction orthoganal to the
other options. So you would need to say …
gem --remote --list
(Notice the two dashes on the list option).
Give that a try.
Okay…I did not get the cvs - have to find out how on windows
2 dashes did not work
···
C:\ruby\gems\rubygems-0.2.0>cvs
‘cvs’ is not recognized as an internal or external command,
operable program or batch file.
C:\ruby\gems\rubygems-0.2.0>gem --remote --list
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:78:in find_latest_v alid_package_in_caches': Could not find --list > 0.0.0 (RuntimeError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:15:in
install’
from c:/ruby/bin/gem:74
Did you get the CVS version of RubyGems? The latest CVS version has been
refactored to make the --remote/–local destinction orthoganal to the
other options. So you would need to say …
gem --remote --list
(Notice the two dashes on the list option).
Give that a try.
gem --remote --list
/usr/local/lib/ruby/site_ruby/1.9/rubygems/remote_installer.rb:78:in find_latest_valid_package_in_caches': Could not find --list > 0.0.0 (RuntimeError) from /usr/local/lib/ruby/site_ruby/1.9/rubygems/remote_installer.rb:15:in install’
from /usr/local/bin/gem:74
This is with a new RubyGems installation.
Jim
···
–
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
“Any sufficiently complicated C or Fortran program contains an ad hoc
informally-specified bug-ridden slow implementation of half of Common Lisp.”
– Greenspun’s Tenth Rule of Programming
Did you get the CVS version of RubyGems? The latest CVS version
has been refactored to make the --remote/–local destinction
orthoganal to the other options. So you would need to say …
gem --remote --list
(Notice the two dashes on the list option).
Give that a try.
Okay…I did not get the cvs - have to find out how on windows 2
dashes did not work --------- C:\ruby\gems\rubygems-0.2.0>cvs
‘cvs’ is not recognized as an internal or external command,
operable program or batch file.
C:\ruby\gems\rubygems-0.2.0>gem --remote --list
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:78:in find_latest_v alid_package_in_caches': Could not find --list > 0.0.0 (RuntimeError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:15:in
install’ from c:/ruby/bin/gem:74
try:
gem --search=“[0-z]”
for some reason --remote-list doesn’t seem to be working for me, but
search does, and most gems have some letter from [0-z] in their name.
Okay…I did not get the cvs - have to find out how on windows
2 dashes did not work
I did not see the error you got when you tried
gem --remote-list
Here ya go with both…–remote-list and --remote --list, i think they
are the same.
WinXP, ruby 1.8
------------------------> --remote -list
C:\Documents and Settings\paul vudmaska>gem --remote -list
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:78:in find_latest_v alid_package_in_caches': Could not find -list > 0.0.0 (RuntimeError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:15:in
install’
from c:/ruby/bin/gem:74
----------------------> --remote --list
C:\Documents and Settings\paul vudmaska>gem --remote --list
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:78:in find_latest_v alid_package_in_caches': Could not find --list > 0.0.0 (RuntimeError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:15:in
install’
from c:/ruby/bin/gem:74
Okay…I did not get the cvs - have to find out how on windows
2 dashes did not work
I did not see the error you got when you tried
gem --remote-list
It looks like Paul is having a different problem than I am. BTW, I’m using Mac
OS X.
~>> gem --remote-list
gem: invalid option: --remote-list
Do you have the CVS version or the released version? What does ‘gem
–help’ say? What does ‘gem --list’ do?
%>gem --list
sources-0.0.1
%> gem --help
C:\Documents and Settings\paul vudmaska>gem --help
Usage: gem [options]
-b, --build=GEMSPEC Build a gem file from spec
-i, --install=GEMFILE Install a gem from local gem file
-u, --uninstall=GEMNAME Uninstall a previously installed gem
–info=GEMNAME Display details about an installed Gem
–dir=DIRNAME Installation directory for the Gem
–gen-rdoc Generate RDoc documentation for the Gem
–list List installed Gems
–search=SEARCHPATTERN Search for Gems in the remote
repository
–force Force Gem to intall, bypassing
dependency c
hecks
–remote-install=GEMNAME Auto-download and install a Gem and
its dep
endencies
–http-proxy=HTTPPROXYHOST (unimplemented) HTTP Proxy to use
for remot
e operations
–version=GEMVERSION Version of Gem to perform operation on
–verify=GEMFILE Verify Gem file against its
internal checks
um
–alien Report ‘unmanaged’ or rogue files
in the Ge
m repository
–help show this message
C:\Documents and Settings\paul vudmaska>
···
On Thursday, March 25, 2004, 10:49:27 PM, Jim wrote:
It certainly does. The released version doesn’t support ‘–remote --list’,
which explains why it didn’t work for me.
Thanks for your help, Gavin.
Jim
···
On Thursday, March 25, 2004, 10:49:27 PM, Jim wrote:
–
Jim Menard, jimm@io.com, http://www.io.com/~jimm/
“Abraham Lincoln didn’t die in vain. He died in Washington, D.C.”
– Firesign Theatre