Found it:
In preinitializer.rb, i modified the last couple of lines:
require "rubygems"
if version
#gem 'refinerycms', version
else
#gem 'refinerycms'
end
require 'vendor/gems/refinerycms-0.9.6.25/lib/refinery_initializer'
---
This way the gem is loaded from vendor/gems without looking for system
gems first.
On Sun, Aug 29, 2010 at 8:26 PM, Commander Johnson
<commanderjohnson@gmail.com> wrote:
> Hello,
>
> I'm working with Refinery 0.9.6.25 which has a small bug in a partial
> file. Is there a way to override this file from within my
> application's directory as to fix the bugged line of code?
>
> The file is, from the gem's working dir,
> vendor/plugins/refinery/app/views/shared/admin/_resource_picker.html.erb
>
> I tried freezing the refinery gem in my vendor/gems dir but later
> learned it can't be frozen because it is loaded before the Rails
> framework.
>
> CmdJohnson
>
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment