fixed Rails 3.1/3.2/4.0 gemfiles dependencies