update Rakefile to work with latest rake
update rails