Installation – Ruby and Rails Blog https://rubyandrails.net This is where diamonds exists Mon, 18 Oct 2021 22:41:18 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 195321763 https://rubyandrails.net/1135-2/ Mon, 18 Oct 2021 22:41:09 +0000 https://rubyandrails.net/?p=1135

Today I’d like to share the steps I take when I need to convert a PostgreSQL database into a SQLite database. Commonly I have to do this when …

]]>
1135
How to backup/restore Rails db with Postgres? https://rubyandrails.net/how-to-backup-restore-rails-db-with-postgres/ Mon, 30 Aug 2021 20:12:37 +0000 https://rubyandrails.net/?p=1130

I do the following on my server: pg_dump -O -c register_production > register.sql Then, after copying register.sql to my local environment, I try: psql register_development < register.sql

Source: How to backup/restore Rails db with Postgres?

]]>
1130
RVM: Ruby Version Manager – Installing RVM https://rubyandrails.net/rvm-ruby-version-manager-installing-rvm-2/ Wed, 28 Jul 2021 15:28:36 +0000 https://rubyandrails.net/?p=980 Source: RVM: Ruby Version Manager – Installing RVM

]]>
980
Installing Passenger + Nginx on Ubuntu 18.04 LTS (with APT) on a Linux/Unix production server (part 2) – deployment walkthrough with Ruby, Passenger, Nginx, Ubuntu 18.04 LTS (with APT) and Linux/Unix – Passenger Library https://rubyandrails.net/installing-passenger-nginx-on-ubuntu-18-04-lts-with-apt-on-a-linux-unix-production-server-part-2-deployment-walkthrough-with-ruby-passenger-nginx-ubuntu-18-04-lts-with-apt-and-linux-unix/ Thu, 22 Jul 2021 14:47:37 +0000 https://rubyandrails.net/?p=823

sudo /usr/sbin/passenger-memory-stats

Source: Installing Passenger + Nginx on Ubuntu 18.04 LTS (with APT) on a Linux/Unix production server (part 2) – deployment walkthrough with Ruby, Passenger, Nginx, Ubuntu 18.04 LTS (with APT) and Linux/Unix – Passenger Library

]]>
823
Installing Passenger + Apache on Ubuntu 18.04 LTS (with APT) on an AWS production server (part 2) – deployment walkthrough with Ruby, Passenger, Apache, Ubuntu 18.04 LTS (with APT) and AWS – Passenger Library https://rubyandrails.net/installing-passenger-apache-on-ubuntu-18-04-lts-with-apt-on-an-aws-production-server-part-2-deployment-walkthrough-with-ruby-passenger-apache-ubuntu-18-04-lts-with-apt-and-aws-passenger/ Thu, 22 Jul 2021 09:41:29 +0000 https://rubyandrails.net/?p=819

sudo /usr/sbin/passenger-memory-stats

Source: Installing Passenger + Apache on Ubuntu 18.04 LTS (with APT) on an AWS production server (part 2) – deployment walkthrough with Ruby, Passenger, Apache, Ubuntu 18.04 LTS (with APT) and AWS – Passenger Library

]]>
819
bundler – How can I resolve “Your bundle only supports platforms [“x86-mingw32”] but your local platforms are [“ruby”, “x86_64-linux”]” – Stack Overflow https://rubyandrails.net/bundler-how-can-i-resolve-your-bundle-only-supports-platforms-x86-mingw32-but-your-local-platforms-are-ruby-x86_64-linux-stack-overflow/ Tue, 13 Jul 2021 06:45:18 +0000 https://rubyandrails.net/?p=582

bundle lock –add-platform rubybundle lock –add-platform x86_64-linux

Source: bundler – How can I resolve “Your bundle only supports platforms [“x86-mingw32”] but your local platforms are [“ruby”, “x86_64-linux”]” – Stack Overflow

]]>
582
Install RVM in macOS (step by step) | by Pagorn Phusaisakul | Medium https://rubyandrails.net/install-rvm-in-macos-step-by-step-by-pagorn-phusaisakul-medium/ Mon, 12 Jul 2021 21:47:19 +0000 https://rubyandrails.net/?p=537

Actually, I am waiting for my workmate. He chatted back after I just start a blog. Sorry man, but I can’t stop writing 😛

Source: Install RVM in macOS (step by step) | by Pagorn Phusaisakul | Medium

]]>
537
Install WSL on Windows 10 | Microsoft Docs https://rubyandrails.net/install-wsl-on-windows-10-microsoft-docs/ Sat, 10 Jul 2021 03:47:07 +0000 https://rubyandrails.net/?p=427 Learn how to install Linux distributions on your Windows 10 machine, with a Bash terminal, including Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, and Alpine.

Source: Install WSL on Windows 10 | Microsoft Docs

]]>
427
PostgreSQL Tutorials, Resources and Training | EDB https://rubyandrails.net/postgresql-tutorials-resources-and-training-edb/ Sat, 10 Jul 2021 03:45:19 +0000 https://rubyandrails.net/?p=424

PostgreSQL High availability – ha, Backup and recovery, Automatic failover, PostgreSQL Extensions, and resources on being successful with Postgres.

Source: PostgreSQL Tutorials, Resources and Training | EDB

]]>
424
Forum: Install Ruby 3.0.2 on Windows https://rubyandrails.net/forum-install-ruby-3-0-2-on-windows/ Sat, 10 Jul 2021 00:01:54 +0000 https://rubyandrails.net/?p=344 Install Ruby 3.0.2 on Windows 10

]]>
344