user4536120
user4536120

Reputation:

How to grant a folder with write permissions for installing gems in Ruby

the biggest problem I have with installing anything on my computer related to Ruby and Rails, is not having 'write' permissions to a specific folder.

For example: "You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory"

Instead of always using Sudo command, which sometimes doesn't solve the problem, how can I give myself 'write' permissions?

Upvotes: 1

Views: 2516

Answers (1)

Kamesh
Kamesh

Reputation: 1465

sudo chmod 777 directory_name

It grants all permissions to the user.

Upvotes: 2

Related Questions