RoR: $bundle install => /usr/bin/env: ruby: not a directory

view full story

http://stackoverflow.com – I'm trying to install RoR with Mysql on Ubuntu and so far it has been a very painful and annoying experience. Everything has been done with RVM, and upon trying to invoke: $ rails new <some path> <some name> -d mysql I get an error that MySQL is not installed, so I follow the instructions and run: $ gem install bundler => Successfully installed bundler 1.2.3 From here the instructions via console to install MySQL are: => Run 'bundle install' to install missing gems. $ bundle install Trying to run this command results in the following output: /usr/bin/env: ruby: not (HowTos)