I setup Ruby through Homebrew and had Compass and Sass installed on my machine which was running 10.9 (Mavericks). Since I've done the update to 10.10 (Yosemite), when I run `grunt serve` on my Yeoman project, I get this error:

```
You need to have Ruby and Compass installed and in your system PATH for this task to work. More info: https://github.com/gruntjs/grunt-contrib-compass Use --force to continue.

```

Any idea what could have borked this? It worked perfectly before.

**UPDATE:**

`which ruby` returns this:

```
/Users/realph/.rbenv/shims/ruby

```

`$PATH` returns this:

```
-bash: /Users/realph/.rbenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin: No such file or directory

```

I've never really understood the whole `$PATH` thing, I just remember reading somewhere that it's good to change it from where OSX points it by default. And I decided to go the Homebrew route.

If anyone could help also explain this, I would really appreciate it.