Closed mmalek-sa closed 10 years ago
I added CASino v3.0.0.pre.2 to an existing web application and encountered following error:
ActionController::RoutingError (uninitialized constant CASino::SessionsHelper): /Users/mani/Projects/CASino/app/controllers/casino/sessions_controller.rb:2:in `<class:SessionsController>' /Users/mani/Projects/CASino/app/controllers/casino/sessions_controller.rb:1:in `<top (required)>' activesupport (4.1.0) lib/active_support/inflector/methods.rb:240:in `const_get' activesupport (4.1.0) lib/active_support/inflector/methods.rb:240:in `block in constantize' activesupport (4.1.0) lib/active_support/inflector/methods.rb:236:in `each' activesupport (4.1.0) lib/active_support/inflector/methods.rb:236:in `inject' activesupport (4.1.0) lib/active_support/inflector/methods.rb:236:in `constantize' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:76:in `controller_reference' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:66:in `controller' actionpack (4.1.0) lib/action_dispatch/routing/route_set.rb:44:in `call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0) lib/action_dispatch/journey/router.rb:59:in `call'
after lots of try and error I found the cause of error in my Gemfile:
group :development, :test do gem 'rspec-rails' # Use railroad for generating model diagrams gem 'railroady' # Use dot for generating diagrams via RailRoady gem 'dot' end
commenting dot gem solved the problem!
#gem 'dot'
Any Idea?
My best guess is that dot's String monkey patches are not compatible with the ActiveSupport monkey patches.
I added CASino v3.0.0.pre.2 to an existing web application and encountered following error:
after lots of try and error I found the cause of error in my Gemfile:
commenting dot gem solved the problem!
Any Idea?