Renaming .rhtml files
@Jose .. just rename your rhtml files to html.erb, and your rxml to xml.builder and everything will work well or just use this code:
task :rhtml2erb do desc 'Renames all your rhtml views to erb' Dir.glob('app/views/**/*.rhtml').each do |file| puts `svn mv #{file} #{file.gsub(/.rhtml$/, '.html.erb')}` end end
Everyone who want to use the latest version of rails has just to use this in his application root folder:
"svn co http://dev.rubyonrails.org/svn/rails/trunk vendor/rails"
it will checkout the latest version from trunk and puts it into vendor/rails … rails will check if it is available automatically before it uses the installed version.
one remark > (the version aufter 8165 seems to have one bug and does not work correct today, but maybe they correct it until tomorrow)-revision 8165" to the upper command.
so append "
