ignoring bin directory
Issue #2: elseif will fail if Rails.root is not defined