update to Rails 4.0 stable & ruby-2.0.0-p247