Skip to content

Commit

Permalink
Merge pull request #74 from Jumba/master
Browse files Browse the repository at this point in the history
Make the default host and port configurable via an environment variable
  • Loading branch information
Mon-Ouie authored Oct 2, 2017
2 parents f4cc977 + 5cfe7aa commit fa2f5e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pry-remote.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
require 'open3'

module PryRemote
DefaultHost = "127.0.0.1"
DefaultPort = 9876
DefaultHost = ENV['PRY_REMOTE_DEFAULT_HOST'] || "127.0.0.1"
DefaultPort = ENV['PRY_REMOTE_DEFAULT_PORT'] || 9876

# A class to represent an input object created from DRb. This is used because
# Pry checks for arity to know if a prompt should be passed to the object.
Expand Down

0 comments on commit fa2f5e9

Please sign in to comment.