Skip to content

no terminal echo running pry within foreman #1290

@aocole

Description

@aocole
aocole@deco ~/pry-term$ cat Procfile 
web: ruby -r pry -e "binding.pry"

aocole@deco ~/pry-term$ foreman --version
0.74.0
aocole@deco ~/pry-term$ foreman start
11:57:44 web.1  | started with pid 23845
11:57:57 web.1  | [1] pry(main)> pry-version
11:58:08 web.1  | [2] pry(main)> ls Integer
Pry version: 0.10.1 on Ruby 2.1.1.
11:58:16 web.1  | [3] pry(main)> hello?
11:58:22 web.1  | [4] pry(main)> is this thing on?

Note:

  • input characters above did not appear while typing, only after hitting enter
  • the output from pry-version did not appear until after the next line of input was entered
  • no output shown from invalid commands [3] and [4]
  • after [4] I hit ctrl-d:
11:58:31 web.1  | [5] pry(main)> Integer#methods: 
11:58:31 web.1  |   ceil  denominator  even?  gcd     integer?  next       odd?  pred         round  times  to_int  truncate
11:58:31 web.1  |   chr   downto       floor  gcdlcm  lcm       numerator  ord   rationalize  succ   to_i   to_r    upto    
11:58:31 web.1  | NoMethodError: undefined method `hello?' for main:Object
11:58:31 web.1  | from (pry):1:in `<main>'
11:58:31 web.1  | NoMethodError: undefined method `on?' for main:Object
11:58:31 web.1  | from (pry):2:in `<main>'
11:58:31 web.1  | exited with code 0
11:58:31 system | sending SIGTERM to all processes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions