Its all about Ruby On Rails
Archive for January, 2007
Bash script for creating new rails project and initial SVN import (with ignoring/removing log/other files)
Jan 10th
Many times we need to create a new rails project and import it to SVN repository. Each time we have to repeat same commands for creating new rails project, Initial import to SVN, Ignoring *.log files, move database.yml to database.example, ignoring tmp/sessions etc.. etc..
So I have written a bash script that do all this stuff, all you need to do is copy this Bash script (for creating new rails project and initial SVN import with ignoring/removing log/other files) to any of your directory with name “create_rails_with_subversion” and execute this script by issuing ./create_rails_with_subversion & follow screen instructions.
This will:
- create a new rails project
- initial import to SVN
- remove and ignore all log files from svn
- remove and ignore sessions, cache sockets files from tmp dir
- move database.yml to database.example
- ignore database.yml
I also love to have your feedbacks…
UPDATE: I have modified this script, now it doesn’t remove tmp dir, it just ignore content in tmp/sessions, tmp/sockets and tmp/caches
UPDATE2: Script again modified , now it also freeze rails (you have to specify version).
What are your New Year’s Resolutions?
Jan 1st
Another year has come and gone, once again it’s time make a New Year’s resolution. Yeah!, I know many resolutions go unachieved and are often broken fairly shortly after they are set
. But still I would like to set my new year’s resolutions
. My resolutions are to improve my vocabulary and to think more realistic. What’s Yours ???
Also I wish 2007 will be a happy, peaceful, and prosperous new year for you all.