r/learnruby • • Apr 21 '14

Getting error when executing gem commands

georges-mbp-2:~ gyang$ gem install jekyll

ERROR: While executing gem ... (Errno::EEXIST) File exists @ dir_s_mkdir - /usr/local/Cellar/ruby/2.1.1_1/lib/ruby/gems

georges-mbp-2:~ gyang$

Can anybody explain what this means?

2 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/MrHeavySilence Apr 21 '14

I've actually never used RubyGems before. I'm trying to install a gem called Jekyll (a static website generator). This is my first time trying to install a gem.

I used brew (a package installer on macs) to install Ruby; I don't know if that would cause a problem.

I just don't understand what the error message means.