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
| // by dave | |
| float[][] result; | |
| float t, c; | |
| float ease(float p) { | |
| p = c01(p); | |
| return 3*p*p - 2*p*p*p; | |
| } | |
| float ease(float p, float g) { |
| // SASS variable overrides must be declared before loading up Active Admin's styles. | |
| // | |
| // To view the variables that Active Admin provides, take a look at | |
| // `app/assets/stylesheets/active_admin/mixins/_variables.css.scss` in the | |
| // Active Admin source. | |
| // | |
| // For example, to change the sidebar width: | |
| // $sidebar-width: 242px; | |
| $primary-color: dynamic_active_admin_color(); |
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
| #!/usr/bin/env bash | |
| curl https://s3.amazonaws.com/heroku-jvm-buildpack-vi/vim-7.3.tar.gz --output vim.tar.gz | |
| mkdir vim && tar xzvf vim.tar.gz -C vim | |
| export PATH=$PATH:/app/vim/bin |