firstdraft / appdev_template

A Rails template for generating homework projects
0 stars 1 forks source link

Make Gitpod choose the Ruby version #93

Closed jelaniwoods closed 4 years ago

jelaniwoods commented 4 years ago

To prevent bin/setup from failing because the user is using the incorrect Ruby version, we can let rvm choose what ruby to use.

I didn't think this was necessary since the Docker image already sources rvm. You can even arrow up in a new Gitpod workspace and see the source command in the Bash history... Regardless, now when the project is initialized, we source the rvm and then exit and re-enter the project folder so the correct Ruby version is selected. Finally bin/setup will run.

jelaniwoods commented 4 years ago

Closing due to conversations in firstdraft/appdev#200