Giter VIP home page Giter VIP logo

setup's Introduction

Setup

Script to install base environment for Ruby development.

Install on Mac OS X

curl -L https://raw.githubusercontent.com/ombulabs/setup/master/mac.sh | bash

Installed libraries

The script will install:

  • homebrew
  • imagemagick
  • oh-my-zsh
  • mysql
  • postgres
  • redis
  • rvm
  • ruby-2.6.6
  • docker
  • docker-compose
  • nvm
  • chromedriver
  • github desktop
  • heroku-toolbelt
  • spotify
  • slack
  • firefox
  • atom

FAQ

I get a permissions error. Why?

You may need to update your local libraries directory.

sudo chown -R $(whoami):admin /Library/Caches/Homebrew
sudo chown -R $(whoami):admin /opt/homebrew-cask/
sudo chown -R $(whoami):admin /usr/local/

I get failure errors. Why?

You have to install Xcode developer tools

xcode-select --install

But I don't want <application> installed.

Just remove <application> from https://github.com/ombulabs/setup/blob/master/mac.sh

Contributions

Please fork this repository and send a pull request with the changes. Thanks!

setup's People

Contributors

arielj avatar bronzdoc avatar etagwerker avatar lubc avatar mauro-oto avatar rdormer avatar sirkosi avatar spacecowb0y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

setup's Issues

Update instructions to include node setup for Apple Silicon laptops

I have a new M1 Mac and following the steps in https://github.com/fastruby/setup/blob/main/mac.sh I wasn't able to get node to work. I've used yarn in the past so I figured I was doing something wrong with nvm, but it turns out you need the latest version of node (16) for Apple Silicon support, and the script is using an older version. See here: https://www.infoworld.com/article/3615673/nodejs-16-introduces-apple-silicon-support.html

Specifically, when I updated my .zshrc file, this happened:

~ $ source .zshrc
Please see `nvm --help` or https://github.com/nvm-sh/nvm#nvmrc for more information.

So there was an error, but I couldn't tell what it was (the output from the error wasn't being shown for some reason). I tried a variety of things, but eventually figured it out with:

~ $ node -v
zsh: bad CPU type in executable: node

Also, what I ultimately put in my .zshrc file is different from what's in the mac.sh script. I used what was recommended by homebrew after installing nvm:

Add the following to ~/.zshrc or your desired shell
configuration file:

  export NVM_DIR="$HOME/.nvm"
  [ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh"  # This loads nvm
  [ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm"  # This loads nvm bash_completion

The script tries to install QT

I'm not sure if any project is using capybara-webkit other than ombushop. So it should be safe to remove QT installation after checking if no other project requires it.

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.