Когда я пытаюсь создать новый проект, запустив:
rails new app
, я получаю следующее сообщение об ошибке:
/usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require': /usr/lib/ruby/vendor_ruby/did_you_mean/spell_checkers/method_name_checker.rb:9: syntax error, unexpected '.' (SyntaxError)
@has_args = !exception.args&.empty?
^
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
from /usr/lib/ruby/vendor_ruby/did_you_mean.rb:6:in `<top (required)>'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
from /var/lib/gems/2.2.0/gems/thor-0.20.3/lib/thor/error.rb:4:in `<class:Thor>'
from /var/lib/gems/2.2.0/gems/thor-0.20.3/lib/thor/error.rb:1:in `<top (required)>'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /var/lib/gems/2.2.0/gems/thor-0.20.3/lib/thor/base.rb:4:in `<top (required)>'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /var/lib/gems/2.2.0/gems/thor-0.20.3/lib/thor.rb:2:in `<top (required)>'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:121:in `require'
from /var/lib/gems/2.2.0/gems/railties-5.1.4/lib/rails/command.rb:7:in `<top (required)>'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /var/lib/gems/2.2.0/gems/railties-5.1.4/lib/rails/cli.rb:10:in `<top (required)>'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:69:in `require'
from /var/lib/gems/2.2.0/gems/railties-5.1.4/exe/rails:9:in `<top (required)>'
from /usr/local/bin/rails:23:in `load'
from /usr/local/bin/rails:23:in `<main>'
Я не уверен, что происходит.Что это?