Most people I’ve found, seem to have the opposite issue. I’m running Latest Rails 4.1.8 on Ruby 2.1.
Any tips?
I’m new here, please inform me if this is inappropriate to post this here or if I should move on to a different Group.
RuntimeError: Circular dependency detected while autoloading constant API::V1::BaseController
~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:478:in load_missing_constant' ~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:180:in
const_missing’
~/Projects/cme-platform/app/controllers/api/v1/articles_controller.rb:3:in <module:V1>' ~/Projects/cme-platform/app/controllers/api/v1/articles_controller.rb:2:in
module:API’
~/Projects/cme-platform/app/controllers/api/v1/articles_controller.rb:1:in <top (required)>' ~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in
require’
~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in block in require' ~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:232:in
load_dependency’
~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:247:in require' ~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:348:in
require_or_load’
~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:307:in depend_on' ~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/dependencies.rb:225:in
require_dependency’
~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/engine.rb:468:in block (2 levels) in eager_load!' ~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/engine.rb:467:in
each’
~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/engine.rb:467:in block in eager_load!' ~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/engine.rb:465:in
each’
~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/engine.rb:465:in eager_load!' ~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/engine.rb:346:in
eager_load!’
~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application/finisher.rb:58:in each' ~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application/finisher.rb:58:in
block in module:Finisher’
~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/initializable.rb:30:in instance_exec' ~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/initializable.rb:30:in
run’
~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/initializable.rb:55:in block in run_initializers' ~/.rbenv/versions/2.1.5/lib/ruby/2.1.0/tsort.rb:226:in
block in tsort_each’
~/.rbenv/versions/2.1.5/lib/ruby/2.1.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component' ~/.rbenv/versions/2.1.5/lib/ruby/2.1.0/tsort.rb:427:in
each_strongly_connected_component_from’
~/.rbenv/versions/2.1.5/lib/ruby/2.1.0/tsort.rb:347:in block in each_strongly_connected_component' ~/.rbenv/versions/2.1.5/lib/ruby/2.1.0/tsort.rb:345:in
each’
~/.rbenv/versions/2.1.5/lib/ruby/2.1.0/tsort.rb:345:in call' ~/.rbenv/versions/2.1.5/lib/ruby/2.1.0/tsort.rb:345:in
each_strongly_connected_component’
~/.rbenv/versions/2.1.5/lib/ruby/2.1.0/tsort.rb:224:in tsort_each' ~/.rbenv/versions/2.1.5/lib/ruby/2.1.0/tsort.rb:205:in
tsort_each’
~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/initializable.rb:54:in run_initializers' ~/.rbenv/versions/2.1.5/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application.rb:300:in
initialize!’
~/Projects/cme-platform/config/environment.rb:5:in <top (required)>' ~/.rbenv/versions/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in
require’
~/.rbenv/versions/2.1.5/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in require' ~/Projects/cme-platform/config.ru:3:in
block in ’
~/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/builder.rb:4:in instance_eval' ~/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/builder.rb:4:in
initialize’
~/Projects/cme-platform/config.ru:1:in new' ~/Projects/cme-platform/config.ru:1:in
’
~/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:51:in eval' ~/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:51:in
load_config’
~/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:42:in initialize' ~/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in
new’
~/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in run' ~/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in
’