diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-24 16:16:57 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-24 16:16:57 +0200 |
| commit | 61dc69cc5d8089ed9f96bc65dc64de6e075f70cf (patch) | |
| tree | 2a25126657acc65a010d1f11a2a2208f38bf41a1 /bin | |
| parent | e0a7e0fec760ba12c8067a37e10c96f1f05876e2 (diff) | |
Upgrade acts-as-taggable-on to 3.5, add Rails 3.2 config fixes
- Bump acts-as-taggable-on from 2.4.1 to 3.5.0
- Fake engine migrations for pre-existing schema
- Set serve_static_assets in development
- Fix request.fullpath in authenticated_system (request_uri removed in Rails 3.x)
- Fix Paperclip path format to match existing file layout
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/rails | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/bin/rails b/bin/rails new file mode 100755 index 0000000..7fd59cc --- /dev/null +++ b/bin/rails | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #!/usr/bin/env ruby | ||
| 2 | # frozen_string_literal: true | ||
| 3 | |||
| 4 | # | ||
| 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") | ||
