Created
May 8, 2013 16:58
-
-
Save williscool/5541864 to your computer and use it in GitHub Desktop.
hack of activesupport dependencies when it won't load the file from the correct path /Users/<user_name>/.rvm/gems/jruby-1.7.3@<your_gemset>/gems/activesupport-3.2.13/lib/active_support/dependencies.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fucking shit activesupport or rvm or whoever's fault it is | |
if file.include?('active_support/krypt') | |
puts '' | |
puts "changing include of file #{file} due to wrong path" | |
file.gsub!("/Users/#{user_name}/.rvm/gems/jruby-1.7.3/gems/activesupport-3.2.13/lib/active_support/",'') | |
puts "path changed to: #{file}" | |
puts '' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment