Skip to content

Instantly share code, notes, and snippets.

@stouset
Created September 6, 2012 22:22
Show Gist options
  • Save stouset/3660859 to your computer and use it in GitHub Desktop.
Save stouset/3660859 to your computer and use it in GitHub Desktop.
(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