That’s weird though, because I’m pretty sure that it should have
executable permissions by default. It doesn’t have anything to do
with Ruby, but rather the rails command doesn’t seem to be setting
your permissions correctly (or you changed them). When I run ‘rails
project’ on OS X, all of my scripts are created with permissions of
755.
That’s weird though, because I’m pretty sure that it should have
executable permissions by default. It doesn’t have anything to do
with Ruby, but rather the rails command doesn’t seem to be setting
your permissions correctly (or you changed them). When I run ‘rails
project’ on OS X, all of my scripts are created with permissions of
755.
I’ve just learned that there is a subversion property called
svn:executable
which supposedly will make files checked in from windows executable in
Unix
systems. I haven’t tested this yet though. It can be set in Tortoise
by
right clicking on the file, going into the SVN menu and chosing
Properties.
One of the properties in the drop down is called svn:executable. From
what
it says, you just need to have this property on the file for it to work.