Closed edikgat closed 9 years ago
tested at ruby mri 2.0.0-p576, 2.1.2, ubuntu 14.04 amd64
rake lurker:all --trace * Invoke lurker:all (first_time) * Invoke lurker:merchant (first_time) * Execute lurker:merchant /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker/engine.rb:4:in <module:Lurker>': uninitialized constant Rails::Engine (NameError) from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker/engine.rb:3:in<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker.rb:92:in <top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/bin/lurker:11:inrequire' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/bin/lurker:11:in <top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bin/lurker:23:inload' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bin/lurker:23:in <main>' ** Invoke lurker:user (first_time) ** Execute lurker:user /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker/engine.rb:4:inmodule:Lurker': uninitialized constant Rails::Engine (NameError) from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker/engine.rb:3:in <top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker.rb:92:in<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/bin/lurker:11:in require' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/bin/lurker:11:in<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bin/lurker:23:in load' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bin/lurker:23:in' * Execute lurker:all
<module:Lurker>': uninitialized constant Rails::Engine (NameError) from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker/engine.rb:3:in
<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/bin/lurker:11:in
<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bin/lurker:23:in
<main>' ** Invoke lurker:user (first_time) ** Execute lurker:user /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker/engine.rb:4:in
<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker.rb:92:in
require' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/bin/lurker:11:in
load' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bin/lurker:23:in
@razum2um. Absolutely mad trace without description. It was detected under Rails 4.2.0beta2.
@edikgat @aderyabin fixed
Probably rails/engine was automatically required on < 4.2 Thanks for report!
tested at ruby mri 2.0.0-p576, 2.1.2, ubuntu 14.04 amd64
rake lurker:all --trace * Invoke lurker:all (first_time) * Invoke lurker:merchant (first_time) * Execute lurker:merchant /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker/engine.rb:4:in'
* Execute lurker:all
<module:Lurker>': uninitialized constant Rails::Engine (NameError) from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker/engine.rb:3:in
<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker.rb:92:in<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/bin/lurker:11:in
require' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/bin/lurker:11:in<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bin/lurker:23:in
load' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bin/lurker:23:in<main>' ** Invoke lurker:user (first_time) ** Execute lurker:user /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker/engine.rb:4:in
module:Lurker': uninitialized constant Rails::Engine (NameError) from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker/engine.rb:3:in<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/lib/lurker.rb:92:in
<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/bin/lurker:11:inrequire' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bundler/gems/lurker-5d9f85972b89/bin/lurker:11:in
<top (required)>' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bin/lurker:23:inload' from /home/eduard/.rbenv/versions/2.0.0-p576/lib/ruby/gems/2.0.0/bin/lurker:23:in