[DRE-maint] Bug#586520: Bug#586520: redmine crashes after upgrade to 0.9.4-3

2010-12-31 Thread Jérémy Lal
On 31/12/2010 15:48, Radosław Antoniuk wrote:
 Ok, After a bit of digging into REE and Redmine package issue I am
 following up on this.
 
 The lines that  have been added there:
 
  loads cookie based session session and secret keys
 # this is needed here because initializers are loaded after plugins,
 # and some plugins initialize ActionController which requires a secret
 to be set.
 # crash if file not found
 filename = ENV['RAILS_ETC'] ? File.join(ENV['RAILS_ETC'],
 'session.yml') : File.join(File.dirname(__FILE__), '..',
 'session.yml')
 sessionconfig = YAML::load_file(filename)
 
 require 'action_controller'
 
 relativeUrlRoot = ENV['RAILS_RELATIVE_URL_ROOT']
 ActionController::Base.session = {
   :key = sessionconfig[Rails.env]['key'],
   :secret = sessionconfig[Rails.env]['secret'],
   :path = (relativeUrlRoot.blank?) ? '/' : relativeUrlRoot
 }
 
 
 should be in the initializers/50-debian.rb
 after the .run! method is invoked.
 
 And this is more elegant way of modifying things for Debian I think :)
 
 
 Radek

That is a sensible request :)
I'll fix it in a future release.

Jérémy.





___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-ruby-extras-maintainers

[DRE-maint] Bug#586520: Bug#586520: redmine crashes after upgrade to 0.9.4-3

2010-06-23 Thread Gunnar Wolf
Radosław Antoniuk dijo [Sun, Jun 20, 2010 at 02:33:09PM +0200]:
 You have to install gems manually if you are using separate
 installation of rubyEE.
 Going further, rubyEE is currently not debianized.
 But indeed, you are right, since it is not debianized, I cannot
 complain that it is not working.
 Anyway, please mention such things like removal of dependency
 libraries next time in the changelog :)

Of course, RubyEE is not in Debian, and a simple Google search gives
no useful links - just a www.rubyee.com that -to be honest- looks
quite unprofessional an makes me doubt that's what you are referring
to. I guess you meant www.rubyenterpriseedition.com ?

Anyway, yes, Debian packages are _all_ meant to be sacred - they are
meant to be installed, but never modified, by the local
administrator. You might have noticed RedMine lives in
/usr/share/redmine - that means it is meant to be managed by Debian
Developers. If you need to install your own software, you should
strive for it to be at ease in /usr/local.

Greetings,

-- 
Gunnar Wolf • gw...@gwolf.org • (+52-55)5623-0154 / 1451-2244




___
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-ruby-extras-maintainers