diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-25 04:34:24 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-25 04:34:24 +0200 |
| commit | 3f236c7a0e544db94ef822f120d649ac5ee958f7 (patch) | |
| tree | 37c91c623f880cb75ba7dd63ee6a42eb0136e2a9 /bin/rails | |
| parent | 75670df5b8a5700c48ac8cb41f8d1732b5738402 (diff) | |
Upgrade to Rails 4.2.11.3
- Bump rails 3.2.22.5 → 4.2.11.3
- Replace globalize3 with globalize ~> 5.0 (gem renamed at 5.0)
- Upgrade routing-filter ~> 0.3 → ~> 0.6
- Upgrade sass-rails, coffee-rails to 4.x
- Upgrade awesome_nested_set 2.x → 3.x (Rails 4 required)
- Add jquery-rails for UJS support
- Pin nokogiri ~> 1.10.10, loofah ~> 2.20.0, rails-html-sanitizer ~> 1.4.4
- Add config/secrets.yml (gitignored), eager_load, serve_static_files
- Fix routes: add via: to all match calls, remove legacy catch-all routes
- Add admin named route, fix rvm dotfiles
- Fix ActiveRecord::FixtureSet rename in test_helper
- Set active_support.test_order and active_record.raise_in_transactional_callbacks
Diffstat (limited to 'bin/rails')
| -rwxr-xr-x | bin/rails | 31 |
1 files changed, 3 insertions, 28 deletions
| @@ -1,29 +1,4 @@ | |||
| 1 | #!/usr/bin/env ruby | 1 | #!/usr/bin/env ruby |
| 2 | # frozen_string_literal: true | 2 | APP_PATH = File.expand_path('../../config/application', __FILE__) |
| 3 | 3 | require_relative '../config/boot' | |
| 4 | # | 4 | require 'rails/commands' |
| 5 | # This file was generated by Bundler. | ||
| 6 | # | ||
| 7 | # The application 'rails' is installed as part of a gem, and | ||
| 8 | # this file is here to facilitate running it. | ||
| 9 | # | ||
| 10 | |||
| 11 | require "pathname" | ||
| 12 | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", | ||
| 13 | Pathname.new(__FILE__).realpath) | ||
| 14 | |||
| 15 | bundle_binstub = File.expand_path("../bundle", __FILE__) | ||
| 16 | |||
| 17 | if File.file?(bundle_binstub) | ||
| 18 | if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/ | ||
| 19 | load(bundle_binstub) | ||
| 20 | else | ||
| 21 | abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run. | ||
| 22 | Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.") | ||
| 23 | end | ||
| 24 | end | ||
| 25 | |||
| 26 | require "rubygems" | ||
| 27 | require "bundler/setup" | ||
| 28 | |||
| 29 | load Gem.bin_path("railties", "rails") | ||
