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() -

jquery - uncaught exception: DataTables Editor - remote hosting of code not allowed -

java - How to resolve error - package com.squareup.okhttp3 doesn't exist? -