#15 ✓resolved
Chad Woolley

Provide a way to specify gem processing order

Reported by Chad Woolley | October 13th, 2008 @ 10:31 PM | in 1.0 Release

Otherwise, you can have dependency issues, such as using mislav-will_paginate and rails 2.0.2 with rails > 2.0.2 installed.

See this app to reproduce the error:

http://github.com/jtrupiano/gemi...

Solution is probably to preserve order of gems, but this is trickier with multiple config files merged. See config_builder.rb.

Workaround is to explicitly activate proper version of rails before invoking autogem:

require 'rubygems'
gem 'geminstaller', ">= 0.4.5"
require 'geminstaller'
gem 'rails', '= 2.0.2'
GemInstaller.autogem('--exceptions')

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

GemInstaller

http://geminstaller.rubyforge.org

People watching this ticket