update gem file for ruby/rails4