3
Annotate gem ile ilgili bazı problemler yaşıyorum. Ben ruby 2.3 çalıştırıyorum ve 5beta3 raylar. Ben bu olsun Annotatesekmesindeki komuta aramaya giderken yumağı yüklemek Annotate Gem yakut rayları 5
[email protected]:~/crash$ annotate
WARN: Unresolved specs during Gem::Specification.reset:
activerecord (< 6.0, >= 3.2)
WARN: Clearing out unresolved specs.
Please report a bug if this causes problems.
/usr/local/lib/ruby/gems/2.3.0/gems/annotate-2.7.0/lib/annotate.rb:12:in `require': cannot load such file -- active_support/core_ext/hash/indifferent_
access (LoadError)
from /usr/local/lib/ruby/gems/2.3.0/gems/annotate-2.7.0/lib/annotate.rb:12:in `rescue in <top (required)>'
from /usr/local/lib/ruby/gems/2.3.0/gems/annotate-2.7.0/lib/annotate.rb:6:in `<top (required)>'
from /usr/local/lib/ruby/gems/2.3.0/gems/annotate-2.7.0/bin/annotate:18:in `require'
from /usr/local/lib/ruby/gems/2.3.0/gems/annotate-2.7.0/bin/annotate:18:in `<top (required)>'
from /usr/local/bin/annotate:22:in `load'
from /usr/local/bin/annotate:22:in `<main>'
emin
neler olduğunu ... sadece iyi iş gibi görünüyor ama.
"Rake db: migrate" ifadesinin kullanılması, bazen "açıklama" başarısız olduğunda çalışır. Raylar 5 ve üstü için, devel dalını github: https://www.bountysource.com/issues/41011908-rake-12-0-0-support adresinden kullanmanız gerekebilir. – sventechie