[DRE-maint] Bug#599943: closed by Jérémy Lal <kapouer at melix.org> (Bug#599943: fixed in redmine 1.0.2-2)
Jérémy Lal
jerry at edagames.com
Fri Oct 15 11:08:28 UTC 2010
reopen 599943
thanks
Yep,
i've been careless on that one.
Will fix it soon.
Jérémy.
On 15/10/2010 12:42, Raoul Bhatia [IPAX] wrote:
> hi,
>
> i saw your patch disable-deprecations.patch and installed redmine
> 1.0.2-2 from http://packages.qa.debian.org/r/redmine.html
>
> first of all, /usr/share/redmine/config/environments/production.rb does
> not include your patch. maybe there's a build error?
>
> second, if i manually add
> Gem::Dependency.warned_version_requirement = true
>
> to /usr/share/redmine/config/environments/production.rb and issue the
> command, the warning is still issued.
>
> i *think* tracked it down (and please bear in mind, that i do not know
> anything about ruby or rails. so please forgive me for using wrong
> terms here)
>
> /usr/share/redmine/config/environment.rb:44 (somehow) calls "process"
> from /usr/share/rails-ruby1.8/railties/lib/initializer.rb:
>
>> def process
>> Rails.configuration = configuration
>>
>> check_ruby_version
>> install_gem_spec_stubs
>> set_load_path
>> add_gem_load_paths
> ^ gems warning is issued here
>
>>
>> require_frameworks
>> set_autoload_paths
>> add_plugin_load_paths
>> load_environment
> ^ your environment options are loaded here.
>
>> preload_frameworks
>
> so i think that this patch is useless because it must happen before
> the call to "add_gem_load_paths" is made.
>
> thanks,
> raoul
>
>
>
More information about the Pkg-ruby-extras-maintainers
mailing list