Skip to content

Instantly share code, notes, and snippets.

@danguita
Last active October 21, 2015 12:04
Show Gist options
  • Save danguita/3023433 to your computer and use it in GitHub Desktop.
Save danguita/3023433 to your computer and use it in GitHub Desktop.
Tmuxinator template for Rails 3 projects
# ~/.tmuxinator/rails_project.yml
# you can make as many tabs as you wish...
project_name: rails_project
project_root: ~/work/rails_project
pre: pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
tabs:
- editor: vim
- shell:
layout: even-vertical
panes:
- #
- #
- test: bundle exec autotest
- console: bundle exec rails c
- db: bundle exec rails db
- log: bundle exec rake log:clear && tail -f log/development.log
- server: bundle exec foreman start -p 5010
- vm: vagrant status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment