This repository has been archived by the owner on May 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from lomba/jruby
* Get specs to run with JRuby + Rails 3.2 + PostgreSQL.
- Loading branch information
Showing
13 changed files
with
129 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require "pathname" | ||
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding) | ||
|
||
gem "mysql", "~> 2.8.1" | ||
platform :ruby do | ||
gem "mysql", "~> 2.8.1" | ||
end | ||
|
||
platform :jruby do | ||
gem 'activerecord-jdbcmysql-adapter' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require "pathname" | ||
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding) | ||
|
||
gem "mysql2" | ||
platform :ruby do | ||
gem "mysql2" | ||
end | ||
|
||
platform :jruby do | ||
gem 'activerecord-jdbcmysql-adapter' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require "pathname" | ||
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding) | ||
|
||
gem "pg" | ||
platform :ruby do | ||
gem "pg" | ||
end | ||
|
||
platform :jruby do | ||
gem 'activerecord-jdbcpostgresql-adapter' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require "pathname" | ||
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding) | ||
|
||
gem "sqlite3" | ||
platform :ruby do | ||
gem "sqlite3" | ||
end | ||
|
||
platform :jruby do | ||
gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require "pathname" | ||
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding) | ||
|
||
gem "mysql2" | ||
platform :ruby do | ||
gem "mysql2" | ||
end | ||
|
||
platform :jruby do | ||
gem 'activerecord-jdbcmysql-adapter' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require "pathname" | ||
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding) | ||
|
||
gem "pg" | ||
platform :ruby do | ||
gem "pg" | ||
end | ||
|
||
platform :jruby do | ||
gem 'activerecord-jdbcpostgresql-adapter' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require "pathname" | ||
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding) | ||
|
||
gem "sqlite3" | ||
platform :ruby do | ||
gem "sqlite3" | ||
end | ||
|
||
platform :jruby do | ||
gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require "pathname" | ||
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding) | ||
|
||
gem "mysql2" | ||
platform :ruby do | ||
gem "mysql2" | ||
end | ||
|
||
platform :jruby do | ||
gem 'activerecord-jdbcmysql-adapter' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require "pathname" | ||
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding) | ||
|
||
gem "pg" | ||
platform :ruby do | ||
gem "pg" | ||
end | ||
|
||
platform :jruby do | ||
gem 'activerecord-jdbcpostgresql-adapter' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
require "pathname" | ||
eval(Pathname.new(__FILE__).dirname.join("Gemfile.base").read, binding) | ||
|
||
gem "sqlite3" | ||
platform :ruby do | ||
gem "sqlite3" | ||
end | ||
|
||
platform :jruby do | ||
gem 'activerecord-jdbcsqlite3-adapter', '>=1.3.0.beta2' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters