check that we are connected before calling ray commands (#303)

This commit is contained in:
Robert Nishihara
2016-07-27 11:20:37 -07:00
committed by Philipp Moritz
parent a97574d471
commit 975bfe89ad
3 changed files with 21 additions and 5 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ source setup-env.sh # Add Ray to your Python path.
```
For convenience, you may also want to add the line `source
"$RAY_ROOT/setup-env.sh"` to your `~/.bashrc` file manually, where `$RAY_ROOT`
is the Ray directory (e.g., `/home/ubuntu/ray`).
"$RAY_ROOT/setup-env.sh"` to the bottom of your `~/.bashrc` file manually, where
`$RAY_ROOT` is the Ray directory (e.g., `/home/ubuntu/ray`).
### Test if the installation succeeded
+2 -2
View File
@@ -30,8 +30,8 @@ source setup-env.sh # Add Ray to your Python path.
```
For convenience, you may also want to add the line `source
"$RAY_ROOT/setup-env.sh"` to your `~/.bashrc` file manually, where `$RAY_ROOT`
is the Ray directory (e.g., `/home/ubuntu/ray`).
"$RAY_ROOT/setup-env.sh"` to the bottom of your `~/.bashrc` file manually, where
`$RAY_ROOT` is the Ray directory (e.g., `/home/ubuntu/ray`).
### Test if the installation succeeded