apply rails4
use ruby 2.0.0 and update gems