For MacOS Catalina, visit Install mysql2 on MacOS Catalina
Installing mysql2
gem errors on MacOS Mojave.
Make sure openssl
is installed on Mac via Homebrew.
#================================================================================================== | |
# Monkey Patch (lmmendes) | |
# MongoDB or in this case Mongoid and it's driver Moped have problems running some commands | |
# when the Primary node goes down and Moped tries to write to the database before | |
# refreshing the cluster info or at least trying the same command on each node before failing. | |
# From GitHub: | |
# Moped::Errors::ConnectionFailure: Could not connect to a primary node for replica set | |
# https://github.com/mongoid/moped/issues/348 | |
#================================================================================================== |
# Add Action button on the top navigation menu. Useful for resource with nested resources | |
action_item :only => :show do | |
link_to('Show Users', admin_group_users_path(resource)) | |
end | |
# Custom show page with children items | |
show do |
// Alerts | |
@include alert-variant($background, $border, $text-color); | |
// Background Variant | |
@include bg-variant($parent, $color); | |
// Border Radius | |
@include border-top-radius($radius); | |
@include border-right-radius($radius); | |
@include border-bottom-radius($radius); |
For MacOS Catalina, visit Install mysql2 on MacOS Catalina
Installing mysql2
gem errors on MacOS Mojave.
Make sure openssl
is installed on Mac via Homebrew.