Rails fails to start when engine CSS/JS files are -w

I use perforce for my source control system. It has the notion of
checking in / out files. To accomplish this, it sets files -w/+w if it’s
checked in or not.

Rails chokes starting up when attempting to copy stuff in the public
engine folder into the engine_files folder.

If I chmod +w the files, or rm them before starting rails everything is
cool. This should probably be fixed in the engine plugin itself…

I have a rake task right now that does it for me, but what do you think
of modifying the core?

Thanks.

This definitely sounds like something that the Engines plugin should
fail gracefully at, but I’m not quite sure about having it directly
affecting permissions. Regardless - submit this as a bug on the Trac
site.

Cheers

  • james

James A. wrote:

This definitely sounds like something that the Engines plugin should
fail gracefully at, but I’m not quite sure about having it directly
affecting permissions. Regardless - submit this as a bug on the Trac
site.

Cheers

  • james

It’s in there… :slight_smile: Thanks for the look on that & the other bug as well.