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.

arch linux, ruby 2.0.0

Added by Jonas Jelten at 2013-03-29 09:20 pm

archlinux no longer has ruby 1.9 in their repositories, and according to the release notes, 2.0 is compatible to 1.9

when i try to launch the dispatch.fcgi:

$ RAILS_ENV=production ./public/dispatch.fcgi
/usr/lib/ruby/gems/2.0.0/gems/rails-2.3.18/lib/rails/gem_dependency.rb:21:in `add_frozen_gem_path': undefined method `source_index' for Gem:Module (NoMethodError)
    from /usr/lib/ruby/gems/2.0.0/gems/rails-2.3.18/lib/initializer.rb:298:in `add_gem_load_paths'
    from /usr/lib/ruby/gems/2.0.0/gems/rails-2.3.18/lib/initializer.rb:132:in `process'
    from /usr/lib/ruby/gems/2.0.0/gems/rails-2.3.18/lib/initializer.rb:113:in `run'
    from /srv/chili/chiliproject/config/environment.rb:42:in `<top (required)>'
    from /usr/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /usr/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
    from ./public/dispatch.fcgi:21:in `<main>'

you can't imagine the pain i've had keeping our chiliproject running for the last year...
what do?

Replies (5)

RE: arch linux, ruby 2.0.0 - Added by Justin Geibel at 2013-04-02 02:42 am

I would recommend using something like RVM or rbenv to install local copies of ruby independent of your distribution.

I have the opposite issue with Ubuntu 12.04 which does not package any of the patch releases since the initial 1.9.3 release.

# System ruby
$ /usr/bin/ruby -v
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

# Now via RVM
$ ruby -v
ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-linux]

A tool like RVM will also let you easily test against other ruby versions or implementations.

Also, is there a reason you've gone with fcgi for your deployment? This doesn't seem to be a very common way of deploying ruby apps.

RE: arch linux, ruby 2.0.0 - Added by Felix Schäfer at 2013-04-02 08:53 am

rvm or rbenv are good candidates, or grab the chef cookbook or directly the vagrant stuff and build a VM for your ChiliProject installation. I realize this is more work either way, but the "speed" and stability at which Ruby and Rails are moving is something we're struggling with too, sorry.

RE: arch linux, ruby 2.0.0 - Added by Holger Just at 2013-04-02 01:27 pm

Ruby 2.0 is not supported by ChiliProject. The main cause for that is the bundled Rubygems that doesn't work anymore with Rails 2.3. Please see the updated Requirements for details.

We will support Ruby 2.0 in the upcoming ChiliProject 4.0 where we will move to Rails 3.2.

RE: arch linux, ruby 2.0.0 - Added by Jonas Jelten at 2013-04-02 02:49 pm

how long will it take chiliproject to support rails 3.2 and ruby 2.0?

i have no time to fight against workarounds to use legacy versions of ruby(gems) right now..

our chili instance will have to be down until it will run with the archlinux packages out of the box, so please, devs, hurry up! :D

by the way, have you considered rewriting chili to python? because there's no good project manager in python out there yet. the conversion shouln't be too difficult.

RE: arch linux, ruby 2.0.0 - Added by Andrew Fischer at 2013-04-02 10:14 pm

I just ran into this same issue on our company server.

Since we don't use ruby for anything other than Chiliproject, I just removed the ruby from extra and installed the ruby1.9 package from AUR:

Was able to get my Chiliproject back up and running in short order.