`
chengyuanheng
  • 浏览: 18799 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

deploy pry for ruby on rails

    博客分类:
  • pry
阅读更多

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!

 

 

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics