ruby on rails - install gem in local machine -
i using pry gem debugging rails application. have specified in gemfile , using it. dont need push gemfile pry gem specified. everytime need revert original gemfile , push remote repo.
i wondering there way can install pry gem in local machine , use in rails app globally dont have specify gem in gemfile.??
i tried
gem install pry
but when use binding.pry in rails controller, says
undefined method `pry' #<binding:0x0000000619398>
with bundler can create groups according environments. can intall gem development group. put line below in gemfile.
gem 'pry', :group => :development
Comments
Post a Comment