We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46f3bea commit db2e86bCopy full SHA for db2e86b
test/db/postgresql/rake_test.rb
@@ -140,7 +140,7 @@ def psql(args)
140
`#{PSQL_EXE} #{args}`
141
end
142
143
- if ActiveRecord::VERSION::STRING.start_with?('4.2') && JRUBY_VERSION.start_with?('1.7')
+ if ActiveRecord::VERSION::STRING.start_with?('4.2') && JRUBY_VERSION.start_with?('1.7') rescue nil
144
warn "NOTE: patching structure_dump due on JRuby #{JRUBY_VERSION}"
145
# NOTE: a hack around structure_dump failing due system(cmd, *args) on 1.7 (not going to get fixed)
146
# RuntimeError: failed to execute:
0 commit comments