Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes JRuby

Need to use the 1.3 beta of the AR JDBC for now
  • Loading branch information...
commit 67f69f65428041b6e9686ec7c56e337cb8613405 1 parent 66b2afc
@danmcclain danmcclain authored
View
6 Gemfile
@@ -3,6 +3,10 @@ source 'https://rubygems.org'
# Specify your gem's dependencies in postgres_ext.gemspec
gemspec
unless ENV['CI']
- gem 'byebug'
+ if RUBY_PLATFORM =~ /java/
+ gem 'ruby-debug'
+ else
+ gem 'byebug'
+ end
end
gem 'fivemat'
View
2  postgres_ext.gemspec
@@ -22,7 +22,7 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'rspec-rails', '~> 2.12.0'
gem.add_development_dependency 'bourne', '~> 1.3.0'
if RUBY_PLATFORM =~ /java/
- gem.add_development_dependency 'activerecord-jdbcpostgresql-adapter'
+ gem.add_development_dependency 'activerecord-jdbcpostgresql-adapter', '1.3.0.beta2'
else
gem.add_development_dependency 'pg', '~> 0.13.2'
end
View
1  spec/dummy/config/environments/development.rb
@@ -1,5 +1,4 @@
Dummy::Application.configure do
- require 'debugger' if RUBY_VERSION == '1.9.3' && ! ENV['CI']
# Settings specified here will take precedence over those in config/application.rb
# In the development environment your application's code is reloaded on
Please sign in to comment.
Something went wrong with that request. Please try again.