Check permissions of the directory. Make sure root is allowed in and such. Make sure you don't have 'gem' running anywhere else so as to lock the directory.
- DeadChex
Checked the permissions and they're set to 'read & write'...I have 'rvm' is that how you'd manage conflicting 'gems?'
- Antonio Pavicevac-Ortiz
What does echo "${GEM_HOME}" output, additionally are you able to find the path specified by the GEM_HOME variable within your PATH?... eg grep -q -- "${GEM_HOME} <<<"${PATH}"; echo "${?}"should output 0 when everything's set-up correctly... generally with gem install someThing one does not need to resort to sudo, and really it can mess things up if one hasn't accounted for various edge-cases; personally I've found it to be easier to have a different user account for Git/Jekyll stuff that's somewhat locked down to only providing related services.
- S0AndS0
1 Answers
0
votes
Check folder permission, chmod to 755.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more
echo "${GEM_HOME}"output, additionally are you able to find the path specified by theGEM_HOMEvariable within yourPATH?... eggrep -q -- "${GEM_HOME} <<<"${PATH}"; echo "${?}"should output0when everything's set-up correctly... generally withgem install someThingone does not need to resort tosudo, and really it can mess things up if one hasn't accounted for various edge-cases; personally I've found it to be easier to have a different user account for Git/Jekyll stuff that's somewhat locked down to only providing related services. - S0AndS0