Changes railties dependecy from Gemfile to gemspec.