David Askew
7/30/2006 4:11:00 PM
On Jul 30, 2006, at 12:05 PM, David Askew wrote:
>
> On Jul 30, 2006, at 11:56 AM, David Askew wrote:
>
>>>
>>> Hi. It looks to me like something went wrong with the darwin ports
>>> RubyGems install. You might want to remove and reinstall that. If
>>> you type "gem list", you should see a gem called "sources", which
>>> tells RubyGems where to download gems from. It's a part of the
>>> RubyGems system, so it's not optional and should always be installed
>>> along with the RubyGems framework.
>
> should there be a file in the gems directory then?
>
> razor:/opt/local/lib/ruby/gems/1.8 dhaskew$ sudo gem env gempath
> /opt/local/lib/ruby/gems/1.8
> razor:/opt/local/lib/ruby/gems/1.8 dhaskew$ ls -al
> total 0
> drwxr-xr-x 6 root admin 204 Jul 30 03:13 .
> drwxr-xr-x 6 root admin 204 Jul 30 11:54 ..
> drwxr-xr-x 2 root admin 68 Jul 30 03:13 cache
> drwxr-xr-x 2 root admin 68 Jul 30 03:13 doc
> drwxr-xr-x 2 root admin 68 Jul 30 03:13 gems
> drwxr-xr-x 2 root admin 68 Jul 30 03:13 specifications
> razor:/opt/local/lib/ruby/gems/1.8 dhaskew$ ls -l gems/
> razor:/opt/local/lib/ruby/gems/1.8 dhaskew$
>
>
perhaps the gem was installed in the wrong place somehow?
razor:~ dhaskew$ sudo gem env gempath
/opt/local/lib/ruby/gems/1.8
razor:~ dhaskew$ cd /opt/local/lib/ruby/gems/
razor:/opt/local/lib/ruby/gems dhaskew$ ls
1.8 cache gems specifications
razor:/opt/local/lib/ruby/gems dhaskew$ find . -name "*sources*"
/cache/sources-0.0.1.gem
/gems/sources-0.0.1
/gems/sources-0.0.1/lib/sources.rb
/specifications/sources-0.0.1.gemspec