Closed lukertty closed 7 years ago
After I create this issue and restart Emacs, everything works fine... Dont know why...
pry-doc
should be in Gemfile
.
Adding pry-doc
to the Gemfile does indeed work. Alternatively, pry-doc
and the other dependencies can be added to the .gemspec
file instead. E.g.:
spec.add_development_dependency "pry", "~> 0.10.3"
spec.add_development_dependency "pry-doc", ">= 0.8.0"
spec.add_development_dependency "method_source", ">= 0.8.2"
I always get
Cannot locate this method: require. Try
gem-install pry-docto get access to Ruby Core documentation.
when calledrobe-show-doc
And I tryed
M-x inf-ruby-console-auto
and rungem-install pry-doc
, I getHowever, when i run
pry
orrails console
in terminal outside emacs, even in eshell, everything works fine.Environment
macOS 10.11.6 Emacs 25.2 Pry version 0.10.4 on Ruby 2.4.1 Rails 5.1.3 Gemfile:
Any Ideas?