Skip to content

Instantly share code, notes, and snippets.

View jacqueline-homan's full-sized avatar

Jacqueline S. Homan jacqueline-homan

View GitHub Profile
@jacqueline-homan
jacqueline-homan / .zshrc file
Created January 11, 2016 19:22
Fixed RVM error
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting
# Path to your oh-my-zsh installation.
export ZSH=/Users/admin/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="robbyrussell"
@jacqueline-homan
jacqueline-homan / .zshrc file
Created January 11, 2016 18:39
RVM not working right for me
# Path to your oh-my-zsh installation.
export ZSH=/Users/admin/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="robbyrussell"
# Uncomment the following line to use case-sensitive completion.
[~] ruby-2.2.1 $ brew prune
Pruned 3725 symbolic links and 169 directories from /usr/local
[~] ruby-2.2.1 $ brew doctor
Your system is ready to brew.
[~] ruby-2.2.1 $ brew install hub
==> Downloading https://homebrew.bintray.com/bottles/hub-2.2.2.el_capitan.bottle
######################################################################## 100.0%
==> Pouring hub-2.2.2.el_capitan.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
Last login: Sun Jan 10 14:39:03 on ttys001
➜ ~ brew list
hub openssl postgresql readline
➜ ~ rvm list
Warning: PATH set to RVM ruby but GEM_HOME and/or GEM_PATH not set, see:
https://github.com/wayneeseguin/rvm/issues/3212
Warning! PATH is not properly set up, $GEM_HOME is not set,
usually this is caused by shell initialization files - check them for 'PATH=...' entries,
Last login: Sun Jan 10 13:07:31 on ttys000
/Users/admin/.zshrc:4: command not found: hub
[~] ruby-2.2.1 $ sudo chown -R $(whoami):admin /usr/local
Password:
[~] ruby-2.2.1 $ brew reinstall postgresql
==> Reinstalling postgresql
==> Installing dependencies for postgresql: openssl, readline
==> Installing postgresql dependency: openssl
==> Downloading https://homebrew.bintray.com/bottles/openssl-1.0.2e.el_capitan.b
######################################################################## 100.0%
Last login: Sun Jan 10 12:36:18 on ttys000
➜ ~ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Broken symlinks were found. Remove them with `brew prune`:
/usr/local/etc/ImageMagick-6/coder.xml
/usr/local/etc/ImageMagick-6/colors.xml
/usr/local/etc/ImageMagick-6/delegates.xml
Last login: Sun Jan 10 12:34:05 on ttys000
/Users/admin/.zshrc:4: command not found: hub
[~] ruby-2.2.1 $ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: /usr/local/Frameworks isn't writable.
This can happen if you "sudo make install" software that isn't managed
Last login: Sat Jan 9 12:30:21 on console
[~] ruby-2.2.1 $ brew update
Error: The /usr/local directory is not writable.
Even if this directory was writable when you installed Homebrew, other
software may change permissions on this directory. Some versions of the
"InstantOn" component of Airfoil or running Cocktail cleanup/optimizations
are known to do this.
You should probably change the ownership and permissions of /usr/local
back to your user account.
[~] ruby-2.2.1 $ mysql —user=user_name —password=password dbname
mysql Ver 14.14 Distrib 5.7.10, for osx10.10 (x86_64) using EditLine wrapper
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Usage: mysql [OPTIONS] [database]
-?, --help Display this help and exit.
@jacqueline-homan
jacqueline-homan / gist:e6dc58873e637843c8ea
Created August 13, 2015 22:57
Unable to get dev environment set up on Mac OS X Yosemite
This file has been truncated, but you can view the full file.
Last login: Thu Aug 13 18:20:56 on ttys000
[~] ruby-2.2.1 $ syslog
May 30 13:09:23 localhost bootlog[0] <Notice>: BOOT_TIME 1433005763 0
May 30 13:11:05 localhost loginwindow[69] <Notice>: USER_PROCESS: 69 console
May 30 13:13:19 admins-MacBook-Pro.local loginwindow[69] <Notice>: DEAD_PROCESS: 69 console
May 30 13:13:20 admins-MacBook-Pro.local loginwindow[69] <Notice>: USER_PROCESS: 69 console
May 30 13:49:48 admins-MacBook-Pro-2.local sessionlogoutd[558] <Notice>: DEAD_PROCESS: 69 console
May 30 13:49:49 admins-MacBook-Pro-2.local loginwindow[564] <Notice>: USER_PROCESS: 564 console
May 30 13:57:29 admins-MacBook-Pro-2.local reboot[995] <Notice>: SHUTDOWN_TIME: 1433008649 229028
May 30 13:57:50 localhost bootlog[0] <Notice>: BOOT_TIME 1433008670 0