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

Installation Error #16

Closed
jeanffc opened this issue Dec 10, 2016 · 1 comment
Closed

Installation Error #16

jeanffc opened this issue Dec 10, 2016 · 1 comment

Comments

@jeanffc
Copy link

jeanffc commented Dec 10, 2016

Follow the error

macOS Sierra 10.12.1
rails 4.2.6
ruby 2.2.3p173

$ rails g my_admin:install
/Applications/MAMP/htdocs/my_admin/config/application.rb:10:in <module:MyAdmin>': superclass mismatch for class Application (TypeError) from /Applications/MAMP/htdocs/my_admin/config/application.rb:9:in <top (required)>'
from /usr/local/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/application.rb:82:in require' from /usr/local/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/application.rb:82:in preload'
from /usr/local/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/application.rb:143:in serve' from /usr/local/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/application.rb:131:in block in run'
from /usr/local/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/application.rb:125:in loop' from /usr/local/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/application.rb:125:in run'
from /usr/local/lib/ruby/gems/2.2.0/gems/spring-2.0.0/lib/spring/application/boot.rb:19:in <top (required)>' from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require'
from /usr/local/Cellar/ruby/2.2.3/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in require' from -e:1:in

'

@jeanffc
Copy link
Author

jeanffc commented Dec 12, 2016

I found the error

I could not use the project name 'my_admin'

So I switched to another name and solved the problem

@jeanffc jeanffc closed this as completed Dec 12, 2016
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