mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Remove uneeded hack
This commit is contained in:
@@ -31,14 +31,6 @@ module Discourse
|
|||||||
# Application configuration should go into files in config/initializers
|
# Application configuration should go into files in config/initializers
|
||||||
# -- all .rb files in that directory are automatically loaded.
|
# -- 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 'discourse'
|
||||||
require 'js_locale_helper'
|
require 'js_locale_helper'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user