Michael Amay
Joined
60 Experience
0 Lessons Completed
0 Questions Solved
Activity
Does anyone have any suggestion on how to sovle this problem?
I did the basic installtion from a book I'm reading and i get the following error message when i type in the command rails new demo
in my terminal.
Michaels-MacBook-Air:~ michaeljonathanamay$ rails new demo
Traceback (most recent call last):
23: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/bin/rails:23:in `<main>'
22: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/bin/rails:23:in `load'
21: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/railties-4.0.0/bin/rails:9:in `<top (required)>'
20: from /usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
19: from /usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
18: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/railties-4.0.0/lib/rails/cli.rb:15:in `<top (required)>'
17: from /usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
16: from /usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
15: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/railties-4.0.0/lib/rails/commands/application.rb:29:in `<top (required)>'
14: from /usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
13: from /usr/local/Cellar/ruby/2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
12: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/railties-4.0.0/lib/rails/generators/rails/app/app_generator.rb:3:in `<top (required)>'
11: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/railties-4.0.0/lib/rails/generators/rails/app/app_generator.rb:140:in `<module:Rails>'
10: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/railties-4.0.0/lib/rails/generators/rails/app/app_generator.rb:146:in `<module:Generators>'
9: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/railties-4.0.0/lib/rails/generators/rails/app/app_generator.rb:147:in `<class:AppGenerator>'
8: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/railties-4.0.0/lib/rails/generators/app_base.rb:61:in `add_shared_options_for'
7: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/railties-4.0.0/lib/rails/generators/base.rb:204:in `class_option'
6: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/thor-1.0.0/lib/thor/base.rb:304:in `class_option'
5: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/thor-1.0.0/lib/thor/base.rb:582:in `build_option'
4: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/thor-1.0.0/lib/thor/base.rb:582:in `new'
3: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/thor-1.0.0/lib/thor/parser/option.rb:11:in `initialize'
2: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/thor-1.0.0/lib/thor/parser/argument.rb:24:in `initialize'
1: from /Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/thor-1.0.0/lib/thor/parser/option.rb:115:in `validate!'
/Users/michaeljonathanamay/.rvm/gems/ruby-2.0.0-p648/gems/thor-1.0.0/lib/thor/parser/option.rb:140:in `validate_default_type!': undefined method `deprecation_warning' for Thor:Class (NoMethodError)
Michaels-MacBook-Air:~ michaeljonathanamay$