ruby-style 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/style/handler/scgi.rb +1 -1
  2. metadata +2 -2
@@ -29,7 +29,7 @@ class RailsSCGIProcessor < SCGI::Processor
29
29
  def initialize(settings)
30
30
  $0 += " environment:#{ENV['RAILS_ENV'] = settings[:environment] || 'production'}"
31
31
  require 'config/environment'
32
- ActiveRecord::Base.allow_concurrency = false
32
+ ActiveRecord::Base.allow_concurrency = false if defined?(ActiveRecord)
33
33
  require 'dispatcher'
34
34
  super(settings)
35
35
  @guard = Mutex.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Evans
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-18 00:00:00 -07:00
12
+ date: 2008-07-06 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15