command gem install rails fails with permissions error? -


trying install gem (gem install rails) fails error:

error: while executing gem ... (gem::filepermissionerror)you don't have write permissions /usr/lib/ruby/gems/1.8 directory. having idea how solve this?

i trying installing rails unix.

sudo command allows execute command superuser

so following command should work you.

sudo gem install rails 

Comments

Popular posts from this blog

java - SSE Emitter : Manage timeouts and complete() -

Voice chat over bluetooth between Android & Python (pybluez) -

javascript - Contenteditable field onchange event add date -