I installed rubygems, and I got help output when I issued the command:
$ gem help
so I think ruby gems installed correctly. But when I tried to install
the Rake gem, this was the output:
$ gem install -r rake
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find rake (> 0) in any repository
Normally, unless you've custom installed gems to put things in your
own directory structure you run gem install as root.
In most modern systems this is best accomplished via
$sudo gem install rake
I assume that you do have root capabilities since you are talking
about changing permissions.
···
On 10/7/07, 7stud -- <dolgun@excite.com> wrote:
I installed rubygems, and I got help output when I issued the command:
$ gem help
so I think ruby gems installed correctly. But when I tried to install
the Rake gem, this was the output:
$ gem install -r rake
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find rake (> 0) in any repository
Each user gets their own source_cache file, so you end up doing it twice, once for yourself and once root. I think it would be ok to copy root's source_cache, but that's not going to help much, since its more likely to be out of date.
PS: What version is your RubyGems?
···
On Oct 7, 2007, at 16:37 , 7stud -- wrote:
Rick Denatale wrote:
$sudo gem install rake
I assume that you do have root capabilities since you are talking
about changing permissions.
Each user gets their own source_cache file, so you end up doing it
twice, once for yourself and once root. I think it would be ok to
copy root's source_cache, but that's not going to help much, since
its more likely to be out of date.
In 0.9.4 the maximum number of gems allowed to be out of date is a tiny 50 before switching to a bulk update. In 0.9.5 the amount will be boosted to 1000.
Each user gets their own source_cache file, so you end up doing it
twice, once for yourself and once root. I think it would be ok to
copy root's source_cache, but that's not going to help much, since
its more likely to be out of date.
PS: What version is your RubyGems?
The most recent version: 0.9.4.
--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars