[Rails] Accessing Rails documentation from TextMate
Some things are blatantly obvious, yet I somehow still manage to miss them. If you have, too, then here it is.
You look up Ruby and Rails documentation from within TextMate by simply placing the caret inside a word and hitting ^H. It works using ri
, so you need to make sure that your Rails documentation is available to ri
.
Mine wasn’t, so I added the following line to ~/.gemrc
:
rdoc: --all -S -N --ri
Then finally I did a sudo gem rdoc --all
, and all was bliss.
About Calvin Correli
I've spent the last 17 years learning, growing, healing, and discovering who I truly am, so that I'm now living every day aligned with my life's purpose.
Read next
Emigrationsafhandling: WORTH DOING
Learn, grow, heal, and discover your life's purpose
Join my free newsletter
No spam. Just timeless insights and ideas.
4 comments
Leave a comment