Issues with config.gem

Hi all, I’m using Rails and Engines 2.1.0 and ran into a problem while
setting up some config.gem dependencies.

From my test.rb environment

Gems specifically required for testing

config.gem ‘rspec’, :lib => ‘spec’, :version => ‘1.1.4’
config.gem ‘rspec-rails’, :lib => ‘spec/rails’, :version => ‘1.1.4’
config.gem ‘ZenTest’

Starting test environment from console

$ script/server -e test

These gems that this application depends on are missing:

  • rspec
  • rspec-rails
  • ZenTest
    Run “rake gems:install” to install them.
    Attempting to copy plugin assets from
    ‘/Users/cameron/Sites/marque/glue/vendor/plugins/glue_core/assets’ to
    ‘/Users/cameron/Sites/marque/glue/public/plugin_assets’
    Exiting
    /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/builder.rb:169:in
    build': undefined method[]’ for :glue_core:Symbol (NoMethodError)
    from
    /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:261:in
    add_route' from /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:269:inadd_named_route’
    from
    /opt/local/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:55:in
    `method_missing’

Strangely enough, commenting out the following line from
config/routes.rb seems to get rid of the errors (although it’s
obviously not a solution!)

Install routes from the glue core plugin

map.from_plugin :glue_core

Anyone run into this before?