

- DOCKER FOR MAC COMMAND LINE COMPLETION ZSH HOW TO
- DOCKER FOR MAC COMMAND LINE COMPLETION ZSH INSTALL
- DOCKER FOR MAC COMMAND LINE COMPLETION ZSH UPDATE


You should now see the “New Terminal” service: Then go to the Automator menu (or the app menu in any running application) and open the Services sub menu. Save the document with the name “New Terminal”. Set the “Service receives” popup to “no input”. It should look like this overall: Here’s the AppleScript to paste into the action: on run In the document, add a “Run AppleScript” action.

DOCKER FOR MAC COMMAND LINE COMPLETION ZSH HOW TO
Posted in develop, osx, rails, ruby, tips and tricks Tagged dev, mac, osx, rails, ruby, terminal Leave a comment How to add Outlook/Hotmail/Live account to Mac OSX El Capitan I reallized that I’ve switched to zsh, so instead of ~/.bash_profile I need to rerun the following command to ~/.zshrc: $ echo 'if which rbenv > /dev/null then eval "$(rbenv init -)" fi' > ~/.zshrc $ source ~/.zshrc
DOCKER FOR MAC COMMAND LINE COMPLETION ZSH INSTALL
I searched and they said that I have to install ruby-build, ok but after that I reallized that it’s not the cause: brew install rbenv ruby-build rbenv rehash I checked back with ruby -v, it shows 2.0.0. I haved installed ruby 2.3.1 on my rbenv (ruby version manager) and set it global, but when i bundle install, there comes some error liked: activesupport-5.0.0 requires ruby version >= 2.2.2, which is incompatible with the currentĮven rbenv version shows: 2.3.1 (set by /Users/duchoang/.ruby-version) My project requires ruby version >= 2.2.2 but default version is 2.0.0. Recently, I faced with the problem of not syncing ruby version with my Mac.
DOCKER FOR MAC COMMAND LINE COMPLETION ZSH UPDATE
Posted in develop, osx, rails Tagged dev, error, osx, rails, terminal Leave a comment Fixing rbenv not update ruby system (rbenv version different from ruby -v) So, it’s EZ now, just replace the new found path. Wow, there comes in the socket line the mysql.sock file locationĪfter some research, I know that Rails settings the socket in the file database.yml. | performance_schema_max_ socket _classes | 10 | performance_schema_max_ socket _instances | -1 | socket | /tmp/mysql.sock| Provide the password, and then you will see something like: Enter to the terminal: mysqladmin -p variables | grep socket So, I was wondering where mysqld.sock is in my computer? I was installed Mysql through brew and able to connect to Mysql by Mysql Workbench with no problem. Ok, so there must be the error as above error message. But the problem comes out: Mysql2::Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' It first initialized and developed in Ubuntu.Īfter bundling tasks, I move to rake db:create to initialize my databases for development and test environment. When I use my Mac to continue developing my Rails application using Mysql as the database system.
