Skip to content


Subversion checkout URL

You can clone with
Download ZIP


REPL support? #2

yuvilio opened this Issue · 4 comments

3 participants


Rails REPLs (for example, rails dbconsole, rails console in the command line , binding.pry in the code) don't seem to work when wrapped in rrails --. The prompt never seems to appear.

$ rrails -- rails s
=> Booting Thin
=> Rails 3.2.6 application starting in development on
=> Call with -d to detach
=> Ctrl-C to shutdown server
>> Thin web server (v1.4.1 codename Chromeo)
>> Maximum connections set to 1024
>> Listening on, CTRL+C to stop
From: /home/yuval/.rvm/gems/ruby-1.9.3-p194@yuviliosite/gems/refinerycms-pages-2.0.5/lib/refinery/pages/section_presenter.rb @ line 15 Refinery::Pages::SectionPresenter#initialize:
    15:       def initialize(initial_hash = {})
 => 16:         binding.pry
    17: do |key, value|
    18:           send("#{key}=", value)
    19:         end
    20:       end
$ rrails -- rails console
Loading development environment (Rails 3.2.6)

Sorry. I will not support REPL on rrails because of archtecture of rails. (but patches welcome.
If you want to use REPL frequency, I recommend to have one more window that run "rails console".

"rails-sh" is similar to rrails. It support REPL. It may be better for you.

@walf443 walf443 closed this

Yep, rails-sh was what I was looking for for the REPL use case. Thank you for point it out.


supported by #7.


In fact, REPL is support after #5 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.