From 692f099807c4f2c509debfa68268ce93a6ece6cc Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 7 May 2014 08:21:13 +1000 Subject: [PATCH] Remove uneeded hack --- config/application.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/config/application.rb b/config/application.rb index ab2f4252a95..25c61f177f3 100644 --- a/config/application.rb +++ b/config/application.rb @@ -31,14 +31,6 @@ module Discourse # Application configuration should go into files in config/initializers # -- all .rb files in that directory are automatically loaded. - # HACK!! regression in rubygems / bundler in ruby-head - if RUBY_VERSION == "2.1.0" - $:.map! do |path| - path = File.expand_path(path.sub("../../","../")) if path =~ /fast_xor/ && !File.directory?(File.expand_path(path)) - path - end - end - require 'discourse' require 'js_locale_helper'