We've found an error in the开发者_StackOverflow中文版 code for multi-schema databases in ActiveRecord (we're fairly positive it's an error, atleast ;). So we've patched the file and submitted a pull request to rails core etc.
However, we would like to deploy our fix and not await the inclusion of our fix in a next release of rails. Our app is hosted on Heroku.
Question:
How do i specify in my Gemfile that it should pull the activerecord gem not from its default location but, for example, from my repository at Github ?Thanks for your help and time,
ErwinYou can add a :git
parameter with git path to your Gemfile:
gem "nokogiri", :git => "git://github.com/tenderlove/nokogiri.git"
It is very well described at http://gembundler.com/
精彩评论