mleglise / dotfiles-public Goto Github PK
View Code? Open in Web Editor NEWPOSIX configuration files for bash, git, ruby, etc.
POSIX configuration files for bash, git, ruby, etc.
[!1] ~/Documents/dotfiles-public$ bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)
Deprecated command, please use:
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
-bash: /Users/jspooner/.rvm/bin/rvm-prompt: No such file or directory
libyaml error when trying to create your first database.
Error
/Users/jspooner/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
rake aborted!
Solution
brew install libyaml
rvm get head
rvm reinstall 1.9.3 --with-gcc=clang
With Lion there is no gcc so nokogiri will not be able to compile.
You'll see this error.
make
compiling html_document.c
make: gcc-4.2: No such file or directory
make: *** [html_document.o] Error 1
Nokogiri install steps
1 brew install libxml2
2 brew install libxslt
3 sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2
sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2
When using xcode 4.2.1 I had to pass --with-gcc=clang
rvm get head
rvm install 1.9.3 --with-gcc=clang
rvm install 1.9.2 --with-gcc=clang
FYI
wl00030835:~ jspooner$ ls -al /Developer/usr/bin/ | grep gcc
lrwxr-xr-x 1 root wheel 12 Feb 8 10:08 cc -> llvm-gcc-4.2
lrwxr-xr-x 1 root wheel 12 Feb 8 10:08 gcc -> llvm-gcc-4.2
lrwxr-xr-x 1 root wheel 28 Feb 8 10:08 gcov-4.2 -> ../llvm-gcc-4.2/bin/gcov-4.2
lrwxr-xr-x 1 root admin 52 Feb 8 10:07 i686-apple-darwin11-llvm-g++-4.2 -> ../llvm-gcc-4.2/bin/i686-apple-darwin11-llvm-g++-4.2
lrwxr-xr-x 1 root admin 52 Feb 8 10:07 i686-apple-darwin11-llvm-gcc-4.2 -> ../llvm-gcc-4.2/bin/i686-apple-darwin11-llvm-gcc-4.2
lrwxr-xr-x 1 root admin 32 Feb 8 10:07 llvm-cpp-4.2 -> ../llvm-gcc-4.2/bin/llvm-cpp-4.2
lrwxr-xr-x 1 root admin 32 Feb 8 10:07 llvm-g++ -> ../llvm-gcc-4.2/bin/llvm-g++-4.2
lrwxr-xr-x 1 root admin 32 Feb 8 10:07 llvm-g++-4.2 -> ../llvm-gcc-4.2/bin/llvm-g++-4.2
lrwxr-xr-x 1 root admin 32 Feb 8 10:07 llvm-gcc -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2
lrwxr-xr-x 1 root admin 32 Feb 8 10:07 llvm-gcc-4.2 -> ../llvm-gcc-4.2/bin/llvm-gcc-4.2
57 brew install mysql
58 unset TMPDIR
59 mysql_install_db --verbose --user=`whoami` --basedir="$(brew --prefix mysql)" --datadir=/usr/local/var/mysql --tmpdir=/tmp
60 cp /usr/local/Cellar/mysql/5.5.14/com.mysql.mysqld.plist ~/Library/LaunchAgents/
61 mkdir -p ~/Library/LaunchAgents
62 cp /usr/local/Cellar/mysql/5.5.19/homebrew.mxcl.mysql.plist ~/Library/LaunchAgents/
63 launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
64 vim /usr/local/etc/my.cnf
65 mysql.server start
66 history
/usr/local/etc/my.cnf
port = 3306
socket = /tmp/mysql.sock
[mysqld]
bind-address = 127.0.0.1
port = 3306
socket = /tmp/mysql.sock
Then don't forget to change your password.
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/local/Cellar/mysql/5.5.19/bin/mysqladmin -u root password 'new-password'
/usr/local/Cellar/mysql/5.5.19/bin/mysqladmin -u root -h wl00031128.active.local password 'new-password'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.