Last active
October 30, 2016 08:06
-
-
Save lbvf50mobile/8b743a5b1b7a01bd479d6086b6391995 to your computer and use it in GitHub Desktop.
why binding pry dose not stop a pocess
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'bundler/setup' | |
require 'pry-byebug' | |
puts "test1" | |
binding.pry | |
puts |
Ok when we add puts at the end of the file binding.pry starts work.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just created file tst.rb inside my rails root, and wanted to test some stuff. But on
ruby tst.rb
it only prints "test". dose not start pry session.