From 05bba371d82f5e6643d36a0d663854d78a2d5da7 Mon Sep 17 00:00:00 2001 From: Juzer Shakir Date: Tue, 19 Sep 2023 18:51:57 +0530 Subject: [PATCH] update ruby version (#47) --- README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 55d518f..28b311f 100644 --- a/README.md +++ b/README.md @@ -4,27 +4,25 @@ Help new developers get their first paid work and build their resumes to help th ## Development -1. Follow [Github instructions](https://docs.github.com/en/get-started/quickstart/fork-a-repo#forking-a-repository) on how to Fork this repository. +1. Follow [Github instructions](https://docs.github.com/en/get-started/quickstart/fork-a-repo#forking-a-repository) on how to Fork this repository. +2. Make sure you have the correct version of Ruby installed (see `.ruby-version`). If not, install it if needed with the Ruby version manager that you use. -2. Make sure you have the correct version of Ruby installed (see `.ruby-version`). If not, install it if needed with the Ruby version manager that you use. + $ asdf install ruby 3.2.2 + $ rbenv install 3.2.2 + $ rvm install 3.2.2 - $ asdf install ruby 3.2.1 - $ rbenv install 3.2.1 - $ rvm install 3.2.1 - -3. Install all dependencies with bundle +3. Install all dependencies with bundle $ bundle install -4. Setup Database and run migrations +4. Setup Database and run migrations $ rake db:create $ rake db:migrate --trace -5. Start the web server with +5. Start the web server with $ ./bin/dev - Run `bin/rails test:all` to run the tests. You can also run `rails c` for an interactive prompt that will allow you to experiment.