16. Things you might have missed
September 2015 ยท 1 minute read
Things you might have missed when setting up setting up your rails app. With the possibility of someone else working on it at some point, it’s a good idea to specify the ruby version and separate out the gem set specific to this application. This will help others to ensure that they have all of the correct files, gems etc installed to contribute.
Open the app in sublime, and create a new file in the apps root dir called
$ .ruby-version
In this file, specify the rails version you are currently running on.
If you are unsure of the version you can simply run the following command in you terminal
$ ruby -v
Create another file in the apps root dir called
$ .ruby-gemset
In that dir, you can name your gemset specific to this app as a reference.
See the live examples at