An error occurred while installing sqlite3 (1.3.7), and Bundler cannot continue Cannot create rails app
It's failing because you are missing a dependency. You can get it by running
sudo apt-get install libsqlite3-dev
I had this issue using Fedora. For posterity and the Yum folks...
sudo yum install libsq3-devel