Skip to content

Instantly share code, notes, and snippets.

@williscool
Created May 8, 2013 16:58
Show Gist options
  • Save williscool/5541864 to your computer and use it in GitHub Desktop.
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
# 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