Sometimes I have a reason to want to run the rail console as a replacement for irb rather than pry (as surprising as pry is). By default, it will be installed because pry has a Gemfile. Howe is it now?
I think when running the rails console used to be the -irb option, but it seems to be gone now. I get an obsolete error message when I try it.
More details
If I just run the โrails consoleโ, it makes me peek.
If I run "rails console -irb = irb":
$ rails c -irb=irb --irb option is no longer supported. Invoke `/your/choice/of/ruby script/rails console` instead
Relevant lines from my gemfile:
gem 'rails', '3.2.18' gem 'pry-rails' gem 'pry-plus'
ruby-on-rails pry
Greg malcolm
source share