Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rails generate surveyor:install fails #497

Open
faraazc opened this issue Apr 30, 2015 · 0 comments
Open

rails generate surveyor:install fails #497

faraazc opened this issue Apr 30, 2015 · 0 comments

Comments

@faraazc
Copy link

faraazc commented Apr 30, 2015

rails generate surveyor:install
/home/faraazc/.rvm/gems/ruby-2.1.5/gems/surveyor_gui-0.1.2/app/models/surveyform.rb:1:in <top (required)>': superclass must be a Class (Module given) (TypeError) from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:457:inload'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:457:in block in load_file' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:647:innew_constants_in'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:456:in load_file' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:354:inrequire_or_load'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:317:in depend_on' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/dependencies.rb:233:inrequire_dependency'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/surveyor_gui-0.1.2/lib/surveyor_gui/engine.rb:24:in block (2 levels) in <class:Engine>' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/surveyor_gui-0.1.2/lib/surveyor_gui/engine.rb:23:ineach'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/surveyor_gui-0.1.2/lib/surveyor_gui/engine.rb:23:in block in <class:Engine>' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:441:ininstance_exec'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:441:in block in make_lambda' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:189:incall'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:189:in block in simple' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:190:incall'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:190:in block in simple' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:incall'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:92:in _run_callbacks' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:734:in_run_prepare_callbacks'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/activesupport-4.2.0/lib/active_support/callbacks.rb:81:in run_callbacks' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/reloader.rb:83:inprepare!'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/actionpack-4.2.0/lib/action_dispatch/middleware/reloader.rb:55:in prepare!' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/railties-4.2.0/lib/rails/application/finisher.rb:50:inblock in module:Finisher'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/railties-4.2.0/lib/rails/initializable.rb:30:in instance_exec' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/railties-4.2.0/lib/rails/initializable.rb:30:inrun'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/railties-4.2.0/lib/rails/initializable.rb:55:in block in run_initializers' from /home/faraazc/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:226:inblock in tsort_each'
from /home/faraazc/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:348:in block (2 levels) in each_strongly_connected_component' from /home/faraazc/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:427:ineach_strongly_connected_component_from'
from /home/faraazc/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:347:in block in each_strongly_connected_component' from /home/faraazc/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:345:ineach'
from /home/faraazc/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:345:in call' from /home/faraazc/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:345:ineach_strongly_connected_component'
from /home/faraazc/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:224:in tsort_each' from /home/faraazc/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:205:intsort_each'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/railties-4.2.0/lib/rails/initializable.rb:54:in run_initializers' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/railties-4.2.0/lib/rails/application.rb:352:ininitialize!'
from /home/faraazc/rails/survey/config/environment.rb:5:in <top (required)>' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/spring-1.3.4/lib/spring/application.rb:92:inrequire'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/spring-1.3.4/lib/spring/application.rb:92:in preload' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/spring-1.3.4/lib/spring/application.rb:143:inserve'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/spring-1.3.4/lib/spring/application.rb:131:in block in run' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/spring-1.3.4/lib/spring/application.rb:125:inloop'
from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/spring-1.3.4/lib/spring/application.rb:125:in run' from /home/faraazc/.rvm/gems/ruby-2.1.5/gems/spring-1.3.4/lib/spring/application/boot.rb:18:in<top (required)>'
from /home/faraazc/.rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in require' from /home/faraazc/.rvm/rubies/ruby-2.1.5/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:inrequire'
from -e:1:in `

'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant