ruby on rails - Error installing Jekyll -


i'm getting error every time try install jekyll here of output terminal -

moooobile:~ usr$ gem install jekyll  error:  while executing gem ... (gem::filepermissionerror)     don't have write permissions /library/ruby/gems/2.0.0 directory. 

i've installed rbenv , changed path to:

moooobile:~ usr$ echo $path  /usr/local/bin:/usr/local/sbin:~/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/x11/bin 

could give me tips wrong?

you need reinstall ruby correct permissions. consult rbenv readme installing rubies. also, need create .ruby-version file in project directory ensure loading of correct ruby version. more in command reference in same readme.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -