Created
October 30, 2013 06:54
-
-
Save gnufied/7228158 to your computer and use it in GitHub Desktop.
Robe usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configuration: | |
(require 'robe) | |
(add-hook 'enh-ruby-mode-hook 'robe-mode) | |
Usage: | |
I have noticed that when inf-ruby mode loads pry it just hangs because of | |
pry trying to be smart about determining terminal type. It is | |
not a problem with robe per se, but the fact that pry is unusable from | |
comint mode of Emacs (It used to work previously, pry broke it very recently). | |
So what I do: | |
1. go to root of the project | |
2. M-x inf-ruby | |
3. Manually load 'require "./config/environment"' | |
4. switch to any file in the project and run robe-start | |
5. For other non-rails projects in fact, I have picked up habit of creating a '.robeup' file which does same sa 'config/environment' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment