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

Unable to execute the command "rails g surveyor_gui:install" #54

Closed
ghost opened this issue May 19, 2016 · 1 comment
Closed

Unable to execute the command "rails g surveyor_gui:install" #54

ghost opened this issue May 19, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented May 19, 2016

I install "surveyor" and "protected_attributes" gems in my repo and ran migrations successfully too. However I have not been able to install and migrate "surveyor_gui". It fails with following error:

/Users/archanaraut/.rvm/gems/ruby-2.3.0/bundler/gems/surveyor_gui-a351b314e7a6/lib/surveyor_gui/models/column_methods.rb:13:in block in <module:ColumnMethods>': uninitialized constant SurveyorGui::Models::ColumnMethods::PermittedParams (NameError) from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/activesupport-4.1.0/lib/active_support/concern.rb:120:inclass_eval'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/activesupport-4.1.0/lib/active_support/concern.rb:120:in append_features' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/bundler/gems/surveyor_gui-a351b314e7a6/app/models/column.rb:2:ininclude'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/bundler/gems/surveyor_gui-a351b314e7a6/app/models/column.rb:2:in <class:Column>' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/bundler/gems/surveyor_gui-a351b314e7a6/app/models/column.rb:1:in<top (required)>'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/bundler/gems/surveyor_gui-a351b314e7a6/lib/surveyor_gui/engine.rb:24:in block (2 levels) in <class:Engine>' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/bundler/gems/surveyor_gui-a351b314e7a6/lib/surveyor_gui/engine.rb:23:ineach'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/bundler/gems/surveyor_gui-a351b314e7a6/lib/surveyor_gui/engine.rb:23:in block in <class:Engine>' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:438:ininstance_exec'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:438:in block in make_lambda' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:184:inblock in simple'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/activesupport-4.1.0/lib/active_support/callbacks.rb:86:in run_callbacks' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/reloader.rb:83:inprepare!'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/actionpack-4.1.0/lib/action_dispatch/middleware/reloader.rb:55:in prepare!' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/application/finisher.rb:52:inblock in module:Finisher'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/initializable.rb:30:in instance_exec' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/initializable.rb:30:inrun'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/initializable.rb:55:in block in run_initializers' from /Users/archanaraut/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:228:inblock in tsort_each'
from /Users/archanaraut/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:350:in block (2 levels) in each_strongly_connected_component' from /Users/archanaraut/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:431:ineach_strongly_connected_component_from'
from /Users/archanaraut/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:349:in block in each_strongly_connected_component' from /Users/archanaraut/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:347:ineach'
from /Users/archanaraut/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:347:in call' from /Users/archanaraut/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:347:ineach_strongly_connected_component'
from /Users/archanaraut/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:226:in tsort_each' from /Users/archanaraut/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tsort.rb:205:intsort_each'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/initializable.rb:54:in run_initializers' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/railties-4.1.0/lib/rails/application.rb:288:ininitialize!'
from /Users/archanaraut/Documents/work/MyFreedomForms/config/environment.rb:5:in <top (required)>' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/application.rb:92:inrequire'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/application.rb:92:in preload' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/application.rb:143:inserve'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/application.rb:131:in block in run' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/application.rb:125:inloop'
from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/application.rb:125:in run' from /Users/archanaraut/.rvm/gems/ruby-2.3.0/gems/spring-1.7.1/lib/spring/application/boot.rb:19:in<top (required)>'
from /Users/archanaraut/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from /Users/archanaraut/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from -e:1:in `

'

@ghost
Copy link
Author

ghost commented May 19, 2016

I installed surveyor and ran db migrations and then installed surveyor_gui, and then tried generating the surveyor_gui model, when I faced this issue. However following the instructions in README.md, got me out of this issue.

@ghost ghost closed this as completed May 19, 2016
This issue was closed.
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

0 participants