listia / laptop Goto Github PK
View Code? Open in Web Editor NEWThis project forked from thoughtbot/laptop
A shell script which turns your Linux or Mac OS X laptop into an awesome development machine.
License: MIT License
This project forked from thoughtbot/laptop
A shell script which turns your Linux or Mac OS X laptop into an awesome development machine.
License: MIT License
Installing Homebrew, a good OS X package manager ...
Whoops, the Homebrew installer has moved! Please instead run:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Also, please ask wherever you got this link from to update it to the above.
Thanks!
Put Homebrew location earlier in PATH ...
Updating Homebrew formulas ...
/dev/fd/63: line 232: brew: command not found
failed
Prior to bootstrapping, I have only rbenv but not rvm.
During https://github.com/listia/listia/wiki/Development-Environment-Setup#auto-bootstrap , it stopped like this:
Installing rvm, to change Ruby versions ...
Found an rvm
...
Installing Ruby ruby-1.9.3-p547 ...
/dev/fd/63: line 284: rvm: command not found
/dev/fd/63: line 287: rvm: command not found
failed
when the script running to MySQL part
Installing MySQL5.6 ...
Updating brew formula...
/dev/fd/63: line 379: mysql: command not found
Error: /usr/local/Cellar/autoconf is not a valid keg
mysql56 is installed. Upgrada...
Error: No available formula with the name "mysql56"
install manually via brew install "mysql56"
Error: No available formula with the name "mysql56"
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
This formula was found in a tap:
homebrew/versions/mysql56
To install it, run:
brew install homebrew/versions/mysql56
install successfully via brew install homebrew/versions/mysql56
I messed up my environment so I was trying to go through the setup again:
https://github.com/listia/listia/wiki/Development-Environment-Setup
After going through the main bootstrap script:
$ bash <(curl -sSL https://raw.githubusercontent.com/listia/laptop/master/mac) -d "/Absoulte/Path/To/listia/App" -h listia
I get:
/Users/geehsien/.rvm/rubies/ruby-2.2.6/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/Users/geehsien/.rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/x86_64-darwin15/psych.bundle, 9): Library not loaded: /usr/local/lib/libyaml-0.2.dylib (LoadError)
Referenced from: /Users/geehsien/.rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/x86_64-darwin15/psych.bundle
Reason: image not found - /Users/geehsien/.rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/x86_64-darwin15/psych.bundle
from /Users/geehsien/.rvm/rubies/ruby-2.2.6/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from /Users/geehsien/.rvm/rubies/ruby-2.2.6/lib/ruby/2.2.0/psych.rb:1:in `<top (required)>'
Separately, I noticed some inconsistencies regarding ruby:
ruby ruby-2.0.0-p645
and Ruby 1.9.3-p547
ruby "2.2.6"
cc @ngan @kureikain ๐
Can we download and install latest HipChat? w/o using brew cast.
Gee-Hsiens-MacBook-Pro-2:Development geehsien$ bash <(curl -sSL https://raw.githubusercontent.com/listia/laptop/master/mac) -d "/Users/geehsien/Development/listia" -h listia
...
Installing Hipchat...
*** Installed. Ignore
Installing ImageOptim...
Ignore.
Installing MySQL5.6 ...
Updating brew formula...
Relax default setting of MySQL56:
/dev/fd/63: line 446: /usr/local/etc/my.cnf.d/relax.cnf: No such file or directory
Gee-Hsiens-MacBook-Pro-2:Development geehsien$
We found one issue while @ilake sets up his mac:
When running sphinx after bootstrapping, it tries to find required file under MySQL 5.1.xx, which he didn't install in mac.
Hi @kureikain
I'm trying to setup dev env on an old laptop that has an old version of our dev env setup. I tried to run your script, but got this error
Homebrew already installed. Skipping ...
Updating Homebrew formulas ...
Error: uninitialized constant Formulary::HOMEBREW_CORE_FORMULA_REGEX
Please report this bug:
https://git.io/brew-troubleshooting
/usr/local/Library/Homebrew/formulary.rb:265:in `loader_for'
/usr/local/Library/Homebrew/formulary.rb:205:in `factory'
/usr/local/Library/Homebrew/cmd/update.rb:173:in `block in report'
/usr/local/Library/Homebrew/cmd/update.rb:159:in `each_line'
/usr/local/Library/Homebrew/cmd/update.rb:159:in `report'
/usr/local/Library/Homebrew/cmd/update.rb:24:in `update'
/usr/local/Library/brew.rb:140:in `<main>'
failed
How should I install our up to date dev env given I have an older setup? Thanks!
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.