I'm starting out with Ruby and was wondering if there's an interactive console similar to Python's IDLE, you know, with context highlighting and autocompletion. I've tried IRB, but it's fairly spartan (although it gets the work done; no question about that). Googling hasn't helped. You guys have any suggestions?
相关问题
- How to get the return code of a shell script in lu
- How to specify memcache server to Rack::Session::M
- Why am I getting a “C compiler cannot create execu
- reference to a method?
- Invoking Mirth Connect CLI with Powershell script
相关文章
- 使用2台跳板机的情况下如何使用scp传文件
- In IntelliJ IDEA, how can I create a key binding t
- Ruby using wrong version of openssl
- shell中反引号 `` 赋值变量问题
- How get the time in milliseconds in FreeBSD?
- Difference between Thread#run and Thread#wakeup?
- how to call a active record named scope with a str
- “No explicit conversion of Symbol into String” for
You should check
pry
. it is awesome . it includes syntax highlighting , tab completion and many other features .There are a lot of gems that add functionality to IRB (colored output, better history, formatted output, etc). Just search http://gemcutter.org for them. Next to that, IRB comes with tab-completion. Start it with "irb -r 'irb/completion'" or put
in your
~/.irbrc
If you are a Vim user, you can run Vim within IRB by using the interactive editor gem. Even if you are not a Vim user, this gem apparently enables you to use any other text editor from inside IRB.
There is also a similar gem called sketches, but I have not tried it myself.