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
    build': undefined method[]’ for :glue_core:Symbol (NoMethodError)
    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’

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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs