Skip to content

Commit e0536e2

Browse files
committed
Fixing requires in standalone example
1 parent cc5b30f commit e0536e2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/standalone.rb

+3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Fill in your own spec for #establish_connection.
22

3+
require "bundler"
4+
Bundler.setup
35
require "eventmachine"
46
require "fiber"
57
require "active_record"
68
require "benchmark"
9+
require "logger"
710

811
ActiveRecord::Base.logger = Logger.new(STDOUT)
912
ActiveRecord::Base.establish_connection :adapter => "em_postgresql",

0 commit comments

Comments
 (0)