-
If chromedriver is all that you needed:
brew cask install chromedriverLooks like this can consolidate to something like:
cd codeandsupply.co gem install bundler (command -v brew && brew upgrade) || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" brew install rbenv readline openssl postgresql graphviz npm brew cask install chromedriver rbenv init cat << EOF >> ~/.zshrc # or ~/.bashrc or ~/.bash_profile READLINE_PREFIX="$(brew --prefix readline)" OPENSSL_PREFIX="$(brew --prefix openssl@1.1)" export LDFLAGS="-L${READLINE_PREFIX}/lib" export CPPFLAGS="-I${READLINE_PREFIX}/include" export PKG_CONFIG_PATH="${READLINE_PREFIX}/lib/pkgconfig" export PATH="${OPENSSL_PREFIX}/bin:$PATH" # Ruby config export RUBY_CONFIGURE_OPTS="'--with-openssl-dir=${OPENSSL_PREFIX}'" eval "$(rbenv init -)" EOF rbenv install $(cat .ruby-version | sed -e 's/-/ /' | awk '{print $2}') bundle installMaybe do some initial pg setup with
psql postgresThen continue:
bundle exec rails db:setup bundle exec rails db:migrate bundle exec rails db:seed bundle exec cucumber
Please register or sign in to comment