Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--simple-prompt option ignored when using pry-rails #121

Open
hurricup opened this issue Sep 16, 2020 · 0 comments
Open

--simple-prompt option ignored when using pry-rails #121

hurricup opened this issue Sep 16, 2020 · 0 comments

Comments

@hurricup
Copy link

What is expected:

$ rails c
Running via Spring preloader in process 24625
Loading development environment (Rails 4.2.11)
2.4.5 :001 > 
2.4.5 :002 >   
2.4.5 :003 >   exit
$ rails c -- --simple-prompt
Running via Spring preloader in process 24924
Loading development environment (Rails 4.2.11)
>> 
?> 
?> 
?> exit

Using pry by itself:

$ pry
[1] pry(main)> 
[2] pry(main)> 
[3] pry(main)> exit
$ pry --simple-prompt
>> 
>> 
>> 
>> exit

But when I add pry-rails to the Gemfile:

$ rails c
Running via Spring preloader in process 24556
Loading development environment (Rails 4.2.11)
[1] pry(main)> 
[2] pry(main)> 
[3] pry(main)> 
[4] pry(main)> 
[5] pry(main)> exit

$ rails c -- --simple-prompt
Running via Spring preloader in process 24574
Loading development environment (Rails 4.2.11)
[1] pry(main)> 
[2] pry(main)> 
[3] pry(main)> 
[4] pry(main)> exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant