Created
September 6, 2012 22:22
-
-
Save stouset/3660859 to your computer and use it in GitHub Desktop.
This file contains 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
(setenv "PATH" | |
(concat (expand-file-name "~/.rbenv/shims:") | |
(expand-file-name "~/.rbenv/bin:") | |
(getenv "PATH"))) | |
(setq exec-path | |
(append | |
(list (expand-file-name "~/.rbenv/shims") | |
(expand-file-name "~/.rbenv/bin")) | |
exec-path)) | |
(eval-after-load "inf-ruby" | |
'(setq inf-ruby-default-implementation "pry" | |
inf-ruby-first-prompt-pattern "^>> $" | |
inf-ruby-prompt-pattern "^>> $" | |
inf-ruby-implementations (cons | |
'("pry" . "pry -I lib") | |
inf-ruby-implementations))) | |
(setq ruby-deep-indent-paren nil) | |
(add-hook 'prelude-ruby-mode-hook 'prelude-prog-mode-defaults t) | |
(add-hook 'prelude-ruby-mode-hook 'auto-fill-mode t) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment