$ pre-commit run all
/home/mpapis/.rvm/gems/ruby-2.1.2/gems/pre-commit-0.19.0/lib/pre-commit/utils/staged_files.rb:41:in `size': No such file or directory @ rb_file_s_size - bin/sm-json (Errno::ENOENT)
from /home/mpapis/.rvm/gems/ruby-2.1.2/gems/pre-commit-0.19.0/lib/pre-commit/utils/staged_files.rb:41:in `block in filter_files'
from /home/mpapis/.rvm/gems/ruby-2.1.2/gems/pre-commit-0.19.0/lib/pre-commit/utils/staged_files.rb:38:in `reject'
from /home/mpapis/.rvm/gems/ruby-2.1.2/gems/pre-commit-0.19.0/lib/pre-commit/utils/staged_files.rb:38:in `filter_files'
from /home/mpapis/.rvm/gems/ruby-2.1.2/gems/pre-commit-0.19.0/lib/pre-commit/utils/staged_files.rb:23:in `staged_files_all'
from /home/mpapis/.rvm/gems/ruby-2.1.2/gems/pre-commit-0.19.0/lib/pre-commit/utils/staged_files.rb:7:in `set_staged_files'
from /home/mpapis/.rvm/gems/ruby-2.1.2/gems/pre-commit-0.19.0/lib/pre-commit/runner.rb:23:in `run'
from /home/mpapis/.rvm/gems/ruby-2.1.2/gems/pre-commit-0.19.0/lib/pre-commit/cli.rb:36:in `execute_run'
from /home/mpapis/.rvm/gems/ruby-2.1.2/gems/pre-commit-0.19.0/lib/pre-commit/cli.rb:20:in `execute'
from /home/mpapis/.rvm/gems/ruby-2.1.2/gems/pre-commit-0.19.0/bin/pre-commit:9:in `<top (required)>'
from /home/mpapis/.rvm/gems/ruby-2.1.2/bin/pre-commit:23:in `load'
from /home/mpapis/.rvm/gems/ruby-2.1.2/bin/pre-commit:23:in `<main>'
from /home/mpapis/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval'
from /home/mpapis/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `<main>'
where:
$ ls -l bin/
lrwxrwxrwx 1 mpapis users 28 Jan 16 2013 sm-json -> /home/mpapis/.sm/bin/sm-json
$ ls -l /home/mpapis/.sm/bin/sm-json
ls: cannot access /home/mpapis/.sm/bin/sm-json: No such file or directory
where: