I have a Rails app using sqlite3. Anytime I want to save anything in test environment I’m getting the following error:
ActiveRecord::StatementInvalid:
SQLite3::SQLException: near "SAVEPOINT": syntax error: SAVEPOINT active_record_1
In development, everything works fine. I’m using Rails 3.2.7.
You should upgrade your OS default version of Sqlite
http://shynnergy.com/2012/07/savepoint-exception-with-rails-3-1-on-jenkins/