or Create a profile
23 Jun, 2013 07:48 PM
I can't install Rubygems either by running the setup file or through rvm. Here are the results: - When I try and run the file through Terminal:
unknown:rubygems-2.0.3 aok617$ ruby setup.rb /Users/aok617/rubygems-2.0.3/lib/rubygems/config_file.rb:318:in read': Is a directory - /Users/aok617/.gemrc (Errno::EISDIR)
from /Users/aok617/rubygems-2.0.3/lib/rubygems/config_file.rb:191:in initialize'
from /Users/aok617/rubygems-2.0.3/lib/rubygems/gem_runner.rb:66:in do_configuration'
from setup.rb:45:in `'
And when I try to use rvm:
unknown:rubygems-2.0.3 aok617$ rvm install rubygems 2.0.3
Extracting rubygems-2.0.3 …
Removing old Rubygems files…
Installing rubygems-2.0.3 for .
Error running 'env GEM_PATH=:@global GEM_HOME= /Users/aok617/.rvm/rubies//bin/ruby -d /Users/aok617/.rvm/src/rubygems-2.0.3/setup.rb', please read /Users/aok617/.rvm/log/1372015627_rubygems.install.log
Installation of rubygems did not complete successfully. mkdir: :
No such file or directory mkdir: :
No such file or directory unknown:rubygems-2.0.3 aok617$
The install log simply states:
[2013-06-23 20:13:14] /Users/aok617/.rvm/rubies//bin/ruby env: /Users/aok617/.rvm/rubies//bin/ruby: No such file or directory
The common error seems to be that it is not a directory but I've followed two different sets of instructions. I don't see why the error keeps appearing.
Would greatly appreciate any help with this. Just installing Ruby itself was a surprising nightmare (Rbenv doesn't seem to work with the current version of Ruby) and I've already spent many many hours just trying to get set up on RoR.
on 24 Jun, 2013 07:05 PM
What is ~/.gemrc? Please include the output of ls -l
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the RubyGems.org staff to resolve this discussion.
This discussion is private.
Only you and RubyGems.org support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.