Re: config.gem dependencies broken?

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


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