Last active
May 2, 2024 06:01
-
-
Save goosys/69d7fd0a5f29c51a6f72fcd22fa714ee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// curl -s https://dl.google.com/linux/chrome/deb/dists/stable/main/binary-amd64/Packages | grep Filename: | |
// sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
// sudo wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
// sudo apt update | |
// sudo apt install google-chrome-stable | |
wget --no-verbose -O /tmp/chrome.deb https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_114.0.5735.90-1_amd64.deb | |
sudo apt install -y --allow-downgrades /tmp/chrome.deb | |
rm /tmp/chrome.deb | |
google-chrome --version | |
// chromedriver --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nokogiri (1.15.3) | |
mini_portile2 (~> 2.8.0) | |
racc (~> 1.4) | |
nokogiri (1.15.3-x86_64-darwin) | |
racc (~> 1.4) | |
nokogiri (1.15.3-x86_64-linux) | |
bundle install --gemfile gemfiles/rails70_administrate016.gemfile | |
BUNDLE_GEMFILE=gemfiles/rails70_administrate016.gemfile bundle exec rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d -i --name postgres -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust postgres | |
./bin/setup | |
DATABASE_URL=postgresql://postgres:@localhost ./bin/setup | |
echo "" >> .env && echo "DATABASE_URL=postgresql://postgres:@localhost" >> .env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/thoughtbot/administrate/blob/main/.circleci/config.yml | |
rbenv install | |
vi ~/.bashrc | |
source !$ | |
rbenv install 3.0.6 | |
rbenv global 3.0.6 | |
export RBENV_VERSION=3.0.6 | |
export CI=1 | |
export DATABASE_URL=postgresql://postgres:@localhost | |
bundle exec rake db:setup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rbenv versions | |
rbenv init | |
eval "$(rbenv init - zsh)" | |
rbenv install 3.2.2 | |
rbenv local 3.2.2 | |
rbenv global 3.2.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rvm list | |
rvm install 3.2.2 | |
rvm use 3.2.2 | |
ruby -v | |
docker run -d -i --name postgres -p 5432:5432 -e POSTGRES_HOST_AUTH_METHOD=trust postgres | |
./bin/setup | |
DATABASE_URL=postgresql://postgres:@localhost ./bin/setup | |
DATABASE_URL=postgresql://postgres:@localhost RAILS_ENV=test bundle exec rake db:setup dev:prime | |
echo "" >> .env && echo "DATABASE_URL=postgresql://postgres:@localhost" >> .env | |
yarn install | |
./bin/dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ここにある最新版を設定する | |
# https://chromedriver.storage.googleapis.com/index.html | |
require 'webdrivers/chromedriver' | |
Webdrivers::Chromedriver.required_version = '114.0.5735.90' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment