Sha256: 29a9a863107f0b63ca52e87cef07ec855745f577c97915d25ed962af97e38cc9

Contents?: true

Size: 751 Bytes

Versions: 3

Compression:

Stored size: 751 Bytes

Contents

FILE_BASE = "/Users/tlcravit/code/<%= @app_name %>"

window do
  before { run "cd #{FILE_BASE}" }

  run "mate ."
  run "tab_title 'shell (bash)'"

  tab "server" do
    run "tab_title 'server (thin)'"
    run "bundle exec thin start"
  end

  if File.exist?("#{FILE_BASE}/Guardfile")
    tab "guard" do
      run "tab_title 'guard'"
      run "guard"
    end
  end

  if File.exist?("#{FILE_BASE}/logs/development.log")
    tab "log" do
      run "tab_title 'development log'"
      run "tail -f \"#{FILE_BASE}/logs/development.log\""
    end
  end

  tab "console" do
    run "tab_title 'console (pry)'"
    run "pry -r ./config/environment"
  end

  tab "shell" do
    run "tab_title 'shell (bash)'"
    run "/usr/local/bin/bash --login"
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tsrails-2.0.3 template/files/Termfile
tsrails-2.0.2 template/files/Termfile
tsrails-2.0.0 template/files/Termfile