A
alex_land
Hi:
I have tried everything i can think of to install RubyGems, but no
success. I would be grateful for any assistance. In sum, my problem
is that i can't install the Gems' System (so obviously my problem is
not with a particular library/Gem-i haven't got that far yet).
Here are the details:
1. My rig: a MacBook Core 2 Duo; It's my personal Mac and i have the
admin password.
2. version of Ruby i'm running (v. 1.82)
3. What i've done: went to rubyforge, downloaded and upacked 0.9.4
RubyGems (tried one prior release just in case, same result)
4. tried to do an install from my Terminal (% ruby setup.rb <--that's
hat the readme file says to do, and indeed, that file is in the
distribution.
5. I know the install failed because none of the *gem* commands work
from my Terminal (e.g., "gem help).
6. Here's my Terminal window output i got when i tried to run the
setup file (which i'll copy in tedious detail in case some small piece
of this is the key):
---> bin
<--- bin
---> lib
---> lib/rbconfig
<--- lib/rbconfig
---> lib/rubygems
---> lib/rubygems/commands
<--- lib/rubygems/commands
---> lib/rubygems/digest
<--- lib/rubygems/digest
<--- lib/rubygems
<--- lib
---> bin
<--- bin
---> lib
---> lib/rbconfig
<--- lib/rbconfig
---> lib/rubygems
---> lib/rubygems/commands
<--- lib/rubygems/commands
---> lib/rubygems/digest
<--- lib/rubygems/digest
<--- lib/rubygems
<--- lib
rm -f InstalledFiles
---> bin
mkdir -p /usr/bin/
install gem /usr/bin/
setup.rb:633:in `initialize': Permission denied - /usr/bin/gem
(Errno::EACCES)
from setup.rb:633:in `open'
from setup.rb:633:in `install'
from setup.rb:1377:in `install_files'
from setup.rb:1376:in `each'
from setup.rb:1376:in `install_files'
from setup.rb:1346:in `install_dir_bin'
from setup.rb:1532:in `__send__'
from setup.rb:1532:in `traverse'
... 6 levels...
from setup.rb:1000:in `exec_install'
from setup.rb:814:in `invoke'
from setup.rb:773:in `invoke'
from setup.rb:1578
7. I used, i think, Macaroni or something similar to repair my
permissions (did this several times), then tried to re-install, same
result.
Thanks,
-Alex
I have tried everything i can think of to install RubyGems, but no
success. I would be grateful for any assistance. In sum, my problem
is that i can't install the Gems' System (so obviously my problem is
not with a particular library/Gem-i haven't got that far yet).
Here are the details:
1. My rig: a MacBook Core 2 Duo; It's my personal Mac and i have the
admin password.
2. version of Ruby i'm running (v. 1.82)
3. What i've done: went to rubyforge, downloaded and upacked 0.9.4
RubyGems (tried one prior release just in case, same result)
4. tried to do an install from my Terminal (% ruby setup.rb <--that's
hat the readme file says to do, and indeed, that file is in the
distribution.
5. I know the install failed because none of the *gem* commands work
from my Terminal (e.g., "gem help).
6. Here's my Terminal window output i got when i tried to run the
setup file (which i'll copy in tedious detail in case some small piece
of this is the key):
---> bin
<--- bin
---> lib
---> lib/rbconfig
<--- lib/rbconfig
---> lib/rubygems
---> lib/rubygems/commands
<--- lib/rubygems/commands
---> lib/rubygems/digest
<--- lib/rubygems/digest
<--- lib/rubygems
<--- lib
---> bin
<--- bin
---> lib
---> lib/rbconfig
<--- lib/rbconfig
---> lib/rubygems
---> lib/rubygems/commands
<--- lib/rubygems/commands
---> lib/rubygems/digest
<--- lib/rubygems/digest
<--- lib/rubygems
<--- lib
rm -f InstalledFiles
---> bin
mkdir -p /usr/bin/
install gem /usr/bin/
setup.rb:633:in `initialize': Permission denied - /usr/bin/gem
(Errno::EACCES)
from setup.rb:633:in `open'
from setup.rb:633:in `install'
from setup.rb:1377:in `install_files'
from setup.rb:1376:in `each'
from setup.rb:1376:in `install_files'
from setup.rb:1346:in `install_dir_bin'
from setup.rb:1532:in `__send__'
from setup.rb:1532:in `traverse'
... 6 levels...
from setup.rb:1000:in `exec_install'
from setup.rb:814:in `invoke'
from setup.rb:773:in `invoke'
from setup.rb:1578
7. I used, i think, Macaroni or something similar to repair my
permissions (did this several times), then tried to re-install, same
result.
Thanks,
-Alex