Command Line
pry -r ./config/app_init_file.rb
- load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb
- load your rails into a pry session
Debugger
;; * IDO/IVY completion menu | |
;; This is originally from https://www.emacswiki.org/emacs/HippieExpand#toc10 | |
;; | |
;; There are a few improvements: | |
;; - It is undo friendly with the addition of save-excursion | |
;; - It will use ivy for the expansion menu if ivy is available, falls back to ido | |
;; - Automatically expands if there is only one possible expansion | |
(defun my-hippie-expand-completions (&optional hippie-expand-function) | |
"Return list of completions generated by `hippie-expand'." |
Command Line
pry -r ./config/app_init_file.rb
- load your app into a pry session (look at the file loaded by config.ru)pry -r ./config/environment.rb
- load your rails into a pry sessionDebugger
# | |
# This file is a part of Hypersoft bash-masters | |
# | |
# Copyright (C) 2013, Triston J. Taylor ([email protected]) | |
# | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions are | |
# met: |
#!/bin/sh | |
# | |
# a simple way to parse shell script arguments | |
# | |
# please edit and use to your hearts content | |
# | |
ENVIRONMENT="dev" |