[DRE-maint] Bug#599943: closed by Jérémy Lal <kapouer at melix.org> (Bug#599943: fixed in redmine 1.0.2-2)

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Fri Oct 15 10:42:50 UTC 2010


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



-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            office at ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________






More information about the Pkg-ruby-extras-maintainers mailing list