Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update ruby version #47

Merged
merged 1 commit into from
Sep 19, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.