Forum: Ruby on Rails Re: config.gem dependencies broken?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sander Voerman (Guest)
on 2008-12-04 10:58
(Received via mailing list)
Hi Joerg,

This is a real bug and it has been solved. See the following thread.

To solve the problem apply the patch on:

The shortcut way is to add a line to:

    def dependencies
      return [] if framework_gem?
      return [] if specification.nil? # <= THE NEW LINE
      all_dependencies = do |dependency|

Hopefully soon there will be an updated gem.

Have fun,


>You have a nil object when you didn't expect it!
>The error occurred while evaluating nil.dependencies
>77:in `dependencies'
View this message in context:
Sent from the RubyOnRails Users mailing list archive at
Jörg B. (Guest)
on 2008-12-04 11:47
(Received via mailing list)

ahhh I see.. thank you. I could workaround this issue by explicitely
specifiying each of my gems dependencies before the actual gems:

This topic is locked and can not be replied to.