Tuesday, October 4, 2011

undefined method 'add_to_rails_paths' for Cms:Module (NoMethodError)

Hello guys,
          During the browser cms configuration i have got the some errors which i have listed below with appropriate fix.

Error:
/gems/bcms_event-1.0.0/rails/init.rb:2:in `evaluate_init_rb': undefined method `add_to_rails_paths' for Cms:Module (NoMethodError)

Solution:
In bcms_event-1.0.0/rails/init.rb add below line
require 'browsercms'

Error:
/gems/activesupport-2.3.11/lib/active_support/dependencies.rb:466:in `load_missing_constant': uninitialized constant Cms::S3 (NameError)

Solution:
install dependency via gem install right_aws

Keep in mind browser cms application runs with ruby 1.8.7 or latest.

No comments:

Post a Comment