mirror of
https://github.com/github/rails.git
synced 2026-01-09 14:48:01 -05:00
Ruby 1.9 compat: convert Pathname to string
This commit is contained in:
@@ -25,7 +25,7 @@ conn[:socket] = Pathname.glob(%w[
|
||||
/tmp/mysql.sock
|
||||
/var/mysql/mysql.sock
|
||||
/var/run/mysqld/mysqld.sock
|
||||
]).find { |path| path.socket? }
|
||||
]).find { |path| path.socket? }.to_s
|
||||
|
||||
ActiveRecord::Base.establish_connection(conn)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user