deploy pry for ruby on rails

what is pry?

 

    you guess!(are you kidding me?)

    please google yourself, thanks

 

install pry:

 

   1. gem install pry or insert "gem 'pry'" in your Gemfile

   

   2. in config/environments/development.rb  insert:

        silence_warnings do

          begin

             require 'pry'

             IRB = Pry

          rescue LoadError

          end

        end

 

ok!

 

 

 

你可能感兴趣的:(Ruby,Rails,pry)