Git Product home page Git Product logo

laptop's People

Contributors

acconrad avatar allaire avatar ash106 avatar chip avatar christoomey avatar dayne avatar derekprior avatar djcp avatar drapergeek avatar endsly avatar esbanarango avatar fivetwentysix avatar geoffharcourt avatar gohanlon avatar jdeerhake avatar jrafanie avatar jsuchal avatar kerrick avatar marcdel avatar markchang avatar mike-burns avatar mjankowski avatar ngan avatar pbrisbin avatar sarahghp avatar shadowfiend avatar sikachu avatar skippednote avatar thcipriani avatar v9n avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

laptop's Issues

Homebrew installer location moved

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

Fail to install MySQL

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

Errors

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:

  1. On the dev setup page, we mention ruby ruby-2.0.0-p645 and Ruby 1.9.3-p547
  2. Our Gemfile shows ruby "2.2.6"

cc @ngan @kureikain ๐Ÿ˜…

Bootstrap failing at MySQL

@kureikain @ngan

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$

Bootstrap script failed on sphinx

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.

Script error when running on old dev setup

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!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.