]> source.dussan.org Git - sonarqube.git/blob
4c0b4aaf9c7be42a044a9ab4265f562206e011aa
[sonarqube.git] /
1 tried_gem = false
2 begin
3   require "jdbc/derby"
4 rescue LoadError
5   unless tried_gem
6     require 'rubygems'
7     gem "jdbc-derby"
8     tried_gem = true
9     retry
10   end
11   # trust that the derby jar is already present
12 end
13 require 'active_record/connection_adapters/jdbc_adapter'