schultyy / avm

Installs Ruby and node.js on your machine
11 stars 4 forks source link

Running ls without installed version panics #1

Closed schultyy closed 9 years ago

schultyy commented 9 years ago

When I run cargo run ls on a system without any installed node version this happens:

vagrant@localhost:/vagrant$ cargo run ls
     Running `target/debug/avm ls`
thread '<main>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { repr: Os { code: 2, message: "No such file or directory" } }', ../src/libcore/result.rs:732
An unknown error occurred

To learn more, run the command again with --verbose.