Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Ruby gem can't install new gems anymore #28343

Closed
phdoerfler opened this issue Apr 12, 2014 · 3 comments
Closed

Ruby gem can't install new gems anymore #28343

phdoerfler opened this issue Apr 12, 2014 · 3 comments

Comments

@phdoerfler
Copy link

Please see the following "bug report" on StackOverflow asked 3h ago. I am also affected by this: http://stackoverflow.com/questions/23022489/cant-install-rails-file-exists-dir-s-mkdir-error

How to reproduce:

brew install ruby
gem install lolcat (or gem install rails for example)

@fanweixiao
Copy link
Contributor

You can fix this by: mkdir -p /usr/local/Cellar/ruby/2.1.1_1/lib/ruby/gems/2.1.0

@phdoerfler
Copy link
Author

This gives me an error stating that „gems“ is a file, not a directory:

$ mkdir -p /usr/local/Cellar/ruby/2.1.1_1/lib/ruby/gems/2.1.0
mkdir: /usr/local/Cellar/ruby/2.1.1_1/lib/ruby/gems/2.1.0: Not a directory

Am 16.04.2014 um 10:15 schrieb fanweixiao [email protected]:

You can fix this by: mkdir -p /usr/local/Cellar/ruby/2.1.1_1/lib/ruby/gems/2.1.0


Reply to this email directly or view it on GitHub.

@jacknagel
Copy link
Contributor

Fixed in 10a2c28

@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants