Ruby on Rails Mac OSX 10.9 (Can't edit .rb files) -


this might simple question have started using ruby on rails on mac has mavericks. installed , started build website, time me open .rb files , edit them read-only , have no clue how change permissions, i'm using sublime text try , edit these files, how change permissions can make edits them? (every file read-only including database.yml need edit).

thanks.

how created? files show owner? can right click on files/directory in finder, choose 'get info' , expand 'sharing , permissions'. can change permissions here (to read/write, if read only). if want recursively web app directory, you'll need click little padlock , choose 'apply enclosed items' cog/gear drop down menu.

alternatively, can recursively change permissions directories , files using terminal , 'chmod' command. if files owned you, going top directory of web app , doing chmod -r u+w * should trick.

see more traditional unix-style file permissions here:

http://en.wikipedia.org/wiki/modes_%28unix%29

just experiment 1 or 2 files if you're unsure.


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? -