ChiliProject is not maintained anymore. Please be advised that there will be no more updates.
We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.
Make Chili work with RubyGems 1.6 (Bug #251)
Description
Tonight, RubyGems 1.6 was released. It no longer requires 'thread' from the stdlib, but rails 2.x app depend on that behaviour. Therefor we need to add
require 'thread'
somewhere in our sources. This is also mentioned in the Release Blog Post
Related issues
duplicated by Bug #285: uninitialized constant ActiveSupport::Dependencies::Mutex... | Duplicate | 2011-03-16 |
Associated revisions
adding require 'thread' since active support needs it but rubygems 1.6 removed it
fixes #251
History
Updated by Gregor Schmidt at 2011-03-02 02:08 pm
Pull Request at https://github.com/chiliproject/chiliproject/pull/14
Before merging I would ask you to confirm, that it is broken and that this fixes it the error. Though I have tested it, it is just a 'my machine' issue for the moment.
- Status changed from Open to Ready for review
Updated by Gregor Schmidt at 2011-03-02 02:08 pm
A stack trace of the error I was facing may be found at https://gist.github.com/850927
Updated by Holger Just at 2011-03-02 02:17 pm
It is broken with ruby 1.8.7-p334 and rubgems 1.8.6 on my mac. Your patch fixes it (i.e Mongrel starts again and tests run smooth.)
I just pulled your patch in. Thanks Gregor!
- Assignee set to Holger Just
- Status changed from Ready for review to Closed
Updated by Gregor Schmidt at 2011-03-02 03:05 pm
For documentation purposes - this seems to be part of newer versions of Rails already. https://github.com/rails/rails/commit/6f17422 - this commit is part of Rails 2.3.9.
The patch may therefore be removed after the switch to 2.3-latest