Railsセキュリティアップデート

2013年1月16日 Posted by PURGE

2013年1月8日にRailsのセキュリティアップデートがリリースされた。
使用しているRailsのバージョンは、3.2.6だったので、アプリのGemfileを下記のように書き換えてみた。

gem 'rails', '3.2.11'
#gem 'rails', '3.2.6'

アプリケーションのトップディレクトリでアップデートしてみた。

$ bundle update
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Installing rake (10.0.3)
Using i18n (0.6.1)
Installing multi_json (1.5.0)
Installing activesupport (3.2.11)
Using builder (3.0.4)
Installing activemodel (3.2.11)
Using erubis (2.7.0)
Using journey (1.0.4)
Installing rack (1.4.4)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.1)
Using tilt (1.3.3)
Installing sprockets (2.2.2)
Installing actionpack (3.2.11)
Using mime-types (1.19)
Using polyglot (0.3.3)
Installing treetop (1.4.12)
Using mail (2.4.4)
Installing actionmailer (3.2.11)
Using arel (3.0.2)
Installing tzinfo (0.3.35)
Installing activerecord (3.2.11)
Installing activeresource (3.2.11)
Using bundler (1.1.3)
Using coffee-script-source (1.4.0)
Using execjs (1.4.0)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Installing json (1.7.6) with native extensions
Using rdoc (3.12)
Using thor (0.16.0)
Installing railties (3.2.11)
Using coffee-rails (3.2.2)
Installing jquery-rails (2.2.0)
Using mysql2 (0.3.10)
Installing rails (3.2.11)
Installing sass (3.2.5)
Installing sass-rails (3.2.6)
Using uglifier (1.3.0)
Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed.

あとは動作確認です。

バージョンの互換性で動作しなくなるのには気を付けて。

コメントを残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です