Hello,
I have a small section of sed code I would like to add to the
deploy.rb script.
The code changes the image paths of our stylesheets
for file in *; do
sed -e
''s/\/images/http:\/\/cache\.reverbnation\.com\/images/g''
"$file" > "${file}.sub"
rm "$file"
mv "${file}.sub" "${file}"
done
I am a newbie at writing and testing rake tasks and would like to know
what the best way to test this before it goes live?
Thanks,
Clem C Rock
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---