Permalink
Browse files

JRuby now working

  • Loading branch information...
1 parent b636f1d commit 22ff9507d4bf7d2f7d5bfda97bfec81911cddfe6 @barttenbrinke barttenbrinke committed Feb 9, 2012
Showing with 8 additions and 1 deletion.
  1. +2 −1 request-log-analyzer.gemspec
  2. +6 −0 spec/integration/mailer_spec.rb
@@ -33,7 +33,8 @@ Gem::Specification.new do |s|
s.add_development_dependency('activerecord')
if defined?(JRUBY_VERSION)
- s.add_development_dependency('sqlite3-ruby')
+ s.add_development_dependency('jdbc-sqlite3')
+ s.add_development_dependency('activerecord-jdbcsqlite3-adapter')
else
s.add_development_dependency('sqlite3')
end
@@ -1,6 +1,8 @@
require 'spec_helper'
require 'socket'
+unless defined?(JRUBY_VERSION) #No Fork on JRUBY
+
describe RequestLogAnalyzer, 'running mailer integration' do
before(:each) do
@@ -193,3 +195,7 @@ def serve( connection )
write( from, to_list, lines.join( "\n" ) )
end
end
+
+else
+ p 'Skipping mailer integration specs, because of missing Process.fork()'
+end

0 comments on commit 22ff950

Please sign in to comment.