ruby on rails - Unable to step in forked gem with Pry -



ruby on rails - Unable to step in forked gem with Pry -

i forked gem called mongoid-scroll. i'm trying open gem pry command gem-open i'm not able since throwing error.

i execute pry bundle exec pry in order pry "see" forked gem (set in gemfile gem 'mongoid-scroll', git: 'https://github.com/bgvo/mongoid-scroll.git'.

then run gem-open mongoid-scroll pry console , throws error:

[1] pry(main)> gem-open mongoid-scroll nomethoderror: undefined method `invoke_editor' pry::editor:class /users/borjagvo/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/bundler/ruby/2.1.0/gems/pry-0.10.1/lib/pry/commands/gem_open.rb:19:in `block in process'

googling error takes me this issue in pry repo. prepare merged master while ago, should locally (i tried bundle update), right?

i there case in specifying gem in gemfile wouldn't take master branch?

thanks.

found cause of error. gemfile has source rubygems.org. looking site, release uploaded latest 1 (0.10.1), although master (and issue mentioned) has been updated. conclusion: latest fixes have not been uploaded rubygems.org.

ruby-on-rails ruby gem pry

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -