Skip to content

Commit

Permalink
Fix sqlite3 dependency for JRuby tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Mar 1, 2012
1 parent cba1409 commit 0fa0554
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ gem 'RedCloth'
gem 'sinatra'
gem 'i18n'
gem 'rails'
gem 'sqlite3'
gem 'rspec-rails'

gem 'sqlite3', :platform => [:ruby, :mswin, :mingw]
gem 'jdbc-sqlite3', :platform => :jruby

gem 'r18n-core', :path => 'r18n-core/'
gem 'r18n-rails-api', :path => 'r18n-rails-api/'
gem 'r18n-rails', :path => 'r18n-rails/'
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ PLATFORMS
DEPENDENCIES
RedCloth
i18n
jdbc-sqlite3
maruku
r18n-core!
r18n-rails!
Expand Down
7 changes: 4 additions & 3 deletions r18n-rails/Gemfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
source :rubygems

group :test do
gem 'sqlite3'
gem 'sqlite3', :platform => [:ruby, :mswin, :mingw]
gem 'jdbc-sqlite3', :platform => :jruby
end

gem 'psych', :platforms => :mri_19, :group => [ :test, :development ]
gem 'psych', :platforms => :mri_19, :group => [:test, :development]

gem 'r18n-core', :path => '../r18n-core/'
gem 'r18n-core', :path => '../r18n-core/'
gem 'r18n-rails-api', :path => '../r18n-rails-api/'

gemspec
1 change: 1 addition & 0 deletions r18n-rails/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ PLATFORMS

DEPENDENCIES
bundler (>= 1.0.10)
jdbc-sqlite3
psych
r18n-core!
r18n-rails!
Expand Down

0 comments on commit 0fa0554

Please sign in to comment.