instance method
mysql_socket_location
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
mysql_socket_location()
No documentation comment.
Source
# File railties/lib/rails_generator/generators/applications/app/app_generator.rb, line 135
def mysql_socket_location
MYSQL_SOCKET_LOCATIONS.find { |f| File.exist?(f) } unless RUBY_PLATFORM =~ /(:?mswin|mingw)/
end
Defined in railties/lib/rails_generator/generators/applications/app/app_generator.rb line 135
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in AppGenerator