freebsd-ports/www/redmine/files/patch-config-boot.rb
Bernhard Froehlich 2f24febe8a - Update to 1.2.0
- Remove old hacks for i18n >= 0.5.0 and RubyGems >= 1.5.0
2011-05-31 14:57:44 +00:00

23 lines
729 B
Ruby

--- config/boot.rb.orig 2011-05-30 18:51:21.000000000 +0200
+++ config/boot.rb 2011-05-31 14:07:01.000000000 +0200
@@ -110,13 +110,13 @@
# Loads i18n 0.4.2 before Rails loads any more recent gem
# 0.5.0 is not compatible with the old interpolation syntax
# Plugins will have to migrate to the new syntax for 1.2.0
-require 'rubygems'
-begin
- gem 'i18n', '0.4.2'
-rescue Gem::LoadError => load_error
- $stderr.puts %(Missing the i18n 0.4.2 gem. Please `gem install -v=0.4.2 i18n`)
- exit 1
-end
+#require 'rubygems'
+#begin
+# gem 'i18n', '0.4.2'
+#rescue Gem::LoadError => load_error
+# $stderr.puts %(Missing the i18n 0.4.2 gem. Please `gem install -v=0.4.2 i18n`)
+# exit 1
+#end
# All that for this:
Rails.boot!