From 34c361cc6613d82ca0695f1d36ad79e728cd7817 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 24 Nov 2014 23:03:38 +0100 Subject: Allow rails and ruby to be controlled from emacs --- emacs/.emacs.d/Cask | 1 + emacs/.emacs.d/init.el | 20 ++++++++------------ 2 files changed, 9 insertions(+), 12 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/Cask b/emacs/.emacs.d/Cask index a6754ba..5ca4207 100644 --- a/emacs/.emacs.d/Cask +++ b/emacs/.emacs.d/Cask @@ -77,6 +77,7 @@ (depends-on "rainbow-delimiters") (depends-on "rainbow-mode") (depends-on "request") +(depends-on "rinari") (depends-on "rust-mode") (depends-on "scss-mode") (depends-on "smex") diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index bd32799..3dea91e 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -1147,37 +1147,30 @@ from myaethon2.core.decorators import ( (prodigy-define-service :name "Picturefix mollie-bank" - :command "bundle" - :args '("exec" "mollie-bank") + :command "mollie-bank" :cwd "~/projects/work/photension/picturefix" - :path '("~/.rbenv/shims") :tags '(work) :kill-signal 'sigkill) (prodigy-define-service :name "Picturefix" - :command "bundle" - :args '("exec" "rails" "s") + :command "rails" + :args '("server") :cwd "~/projects/work/photension/picturefix" - :path '("~/.rbenv/shims") :tags '(work) :kill-signal 'sigkill) (prodigy-define-service :name "Picturefix sidekiq" - :command "bundle" - :args '("exec" "sidekiq") + :command "sidekiq" :cwd "~/projects/work/photension/picturefix" - :path '("~/.rbenv/shims") :tags '(work) :kill-signal 'sigkill) (prodigy-define-service :name "Picturefix mailcatcher" - :command "bundle" - :args '("exec" "mailcatcher") + :command "mailcatcher" :cwd "~/projects/work/photension/picturefix" - :path '("~/.rbenv/shims") :tags '(work) :kill-signal 'sigkill)) @@ -1453,6 +1446,9 @@ from myaethon2.core.decorators import ( (require 'colemak-evil)) (global-evil-surround-mode)) +(with-eval-after-load 'ruby + (global-rinari-mode)) + (when (equal system-name "drd") (load "eap-autoloads")) -- cgit v1.2.3-54-g00ecf