LoginSignup
16
15

More than 5 years have passed since last update.

bundle console で pry を使う bundler v1.6 以降

Posted at

まずは pry を Gemfile へ追加。

Gemfile
gem "pry", group: :development

gemspec な人は以下のように追加

your_gem.gemspec
  spec.add_development_dependency "pry"

追加できたら bundle config console pry

$ bundle config console pry
$ bundle console
Resolving dependencies...
[1] pry(main)> 

bundle console を諦めて bundle exec pry してた人、.irbrc を書き換えたくない人には嬉しいですね。

Enjoy:metal:

Resources

16
15
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
15