Displaying 1 result from an estimated 1 matches for "mysql_socket_location".
Did you mean:
mysql_socket_locations
2006 Jul 16
0
Patch for selecting MySQL socket in app_generator.rb
...lib/rails_generator/generators/applications/app/app_generator.rb
*** old/app_generator.rb 2006-07-16 00:07:05.310476266 -0400
--- new/app_generator.rb 2006-07-16 00:07:32.973448980 -0400
*************** class AppGenerator < Rails::Generator::B
*** 109,115 ****
end
def mysql_socket_location
! RUBY_PLATFORM =~ /mswin32/ ? MYSQL_SOCKET_LOCATIONS.find { |f|
File.exists?(f) } : nil
end
--- 109,115 ----
end
def mysql_socket_location
! RUBY_PLATFORM !~ /mswin32/ ? MYSQL_SOCKET_LOCATIONS.find { |f|
File.exists?(f) } : nil
end
--
Posted via http://w...