This works fine in my dev environment:
File.open(RAILS_ROOT + '\public\stylesheets\colors.css', 'w') do |w|
But when I move it to production, nothing is actually ever changed or written. I even set the permissions to ‘777’ on the file (it already exists) but nothing gets modified. Any ideas?