aziz/tmuxinator — Issue #38: user friendly message when starting a non-existant project
Author: clutchski
Created: 2011-11-16 01:29:49+00:00
State: open

Hey,

It'd be great to print a user friendly error message when starting a non-existant project. As it stands, mux prints:

$ mux start asdf
(erb):7:in `render': undefined method `[]' for nil:NilClass (NoMethodError)
from /Users/mperpick/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/erb.rb:753:in `eval'
from /Users/mperpick/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/erb.rb:753:in `result'
from /Users/mperpick/.rvm/gems/ruby-1.9.2-p290@timber/gems/tmuxinator-0.5.0/lib/tmuxinator/config_writer.rb:24:in `render'
from /Users/mperpick/.rvm/gems/ruby-1.9.2-p290@timber/gems/tmuxinator-0.5.0/lib/tmuxinator/cli.rb:143:in `start'
from /Users/mperpick/.rvm/gems/ruby-1.9.2-p290@timber/gems/tmuxinator-0.5.0/lib/tmuxinator/cli.rb:13:in `run'
from /Users/mperpick/.rvm/gems/ruby-1.9.2-p290@timber/gems/tmuxinator-0.5.0/bin/mux:6:in `'
from /Users/mperpick/.rvm/gems/ruby-1.9.2-p290@timber/bin/mux:19:in `load'
from /Users/mperpick/.rvm/gems/ruby-1.9.2-p290@timber/bin/mux:19:in `

'

Otherwise, very cool tool.

Matt