camaleon-cms: Could not find "apps" in any of your source paths

After running rails generate camaleon_cms:install I’m getting the following error

rails generate camaleon_cms:install
  create  config/system.json
  create  lib/plugin_routes.rb

Could not find "apps" in any of your source paths. Your current source paths are:
/Users/gabrijel/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/camaleon_cms-2.0.2/lib/generators/camaleon_cms/install_template

Does it have anything to do with your plugin_routes.rb file

def self.apps_dir
  dir =  "#{File.dirname(__FILE__)}".split("/")
  dir.pop
  dir.join("/")+ '/app/apps' <-- this one?
end

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 18 (5 by maintainers)

Most upvoted comments

I would say that rails 5.1+ is still not supported, downgrade to 4.1+ and try again.