0

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.

zero-divisor
  • 560
  • 3
  • 19

1 Answers1

2

You should upgrade your OS default version of Sqlite

http://shynnergy.com/2012/07/savepoint-exception-with-rails-3-1-on-jenkins/

Said Kaldybaev
  • 9,380
  • 8
  • 36
  • 53
  • Perfect, thanks. Although I used "option 1" in the Stackoverflow post your block post references to, the bundler option did not work for me. – zero-divisor Aug 21 '12 at 05:16