Skip to content

Instantly share code, notes, and snippets.

@psy-q
Created December 19, 2011 14:57
Show Gist options
  • Select an option

  • Save psy-q/1497558 to your computer and use it in GitHub Desktop.

Select an option

Save psy-q/1497558 to your computer and use it in GitHub Desktop.
strace to show that bundle exec rspec can't find the binary
stat64("/home/rca/.rvm/gems/ruby-1.8.7-p352/bin/rspec", 0xbfe29220) = -1 ENOENT (No such file or directory)
stat64("/home/rca/.rvm/gems/ruby-1.8.7-p352@global/bin/rspec", 0xbfe29220) = -1 ENOENT (No such file or directory)
stat64("/home/rca/.rvm/rubies/ruby-1.8.7-p352/bin/rspec", 0xbfe29220) = -1 ENOENT (No such file or directory)
stat64("/home/rca/.rvm/bin/rspec", 0xbfe29220) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/rspec", 0xbfe29220) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/rspec", 0xbfe29220) = -1 ENOENT (No such file or directory)
stat64("/bin/rspec", 0xbfe29220) = -1 ENOENT (No such file or directory)
stat64("/usr/local/games/rspec", 0xbfe29220) = -1 ENOENT (No such file or directory)
stat64("/usr/games/rspec", 0xbfe29220) = -1 ENOENT (No such file or directory)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment