Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Set permissions for folders and files
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib
README.md
can_write.gemspec

README.md

Using

gem install can_write

Make file named can_write in your application root and write simple commands, such as:

['tmp', 'log'].should_be_writable.by_user 'www-data'

%w{app lib}.should_be_readable.by_user 'www-data'

%w{script/generate script/about}.should_be_executable.by_user 'www-data'

Run in your application filder

can_write
Something went wrong with that request. Please try again.