$ brew install bison
Warning: bison-3.0.2 already installed
$ bison -V
bison (GNU Bison) 2.3
How can I change the Bison version in use to 3.0.2? I'm on OS X 10.9.4. I've restarted my terminal after $brew install bison
.
UPDATE
I'm really not sure if this is a problem of HomeBrew or Bison. I reinstalled Bison with MacPorts:
$port install bison
......
$bison -V
bison (GNU Bison) 2.7.12-4996
MacPorts did not install the latest version of Bison, but it did change the Bison version in use to the one it installed.
UPDATE ON $PATH
$echo $PATH
/opt/local/bin:/opt/local/sbin:/usr/local/bin:/Users/my_user_name/.rbenv/shims:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/munki:/usr/local/mysql/bin:/Users/my_user_name/code/bin:/Users/my_user_name/code/bin/git:/Users/my_user_name/code/bin/old_git:/Users/my_user_name/code/bin:/Users/my_user_name/code/bin/git:/Users/my_user_name/code/bin/old_git:/Users/my_user_name/.rvm/bin
echo $PATH
? – Bolton