Ruby script for creating new rails project and initial SVN import (with ignoring/removing log/other files)
Some days go I wrote a bash script for creating new rails project and initial SVN import (with ignoring/removing log/other files). And I received many comments if I could write a ruby script for this stuff. Hence here is the ruby script for creating new rails project and initial SVN import (with ignoring/removing log/other files). Copy this script to any of your directory as “create_rails_with_subversion.rb” and execute by issuing “ruby create_rails_with_subversion.rb ”
You may need command line subversion for windows.
I have tested it at my windows and linux machine, if it not work for you please let me know.
Also I love to have your comments…. :)














If you put a shebang at the top of the file then it won’t require the .rb extension or need to be run by Ruby when it’s on a *nix system.
#!/usr/bin/env ruby
Thanks for this!