Ruby version number
當你部署到 Heroku 的過程中,可能會看到這樣的警告訊息:
###### WARNING:
You have not declared a Ruby version in your Gemfile.
To set your Ruby version add this line to your Gemfile:
ruby '2.1.5'
就目前這個教學來說,是不必指定 Ruby 版本,所以可以忽略這個訊息。不過如果想在 Heroku 運作重要的應用程式,建議還是在 Gemfile 裡指定明確的 Ruby 版本,減少 development 環境和 production 環境之間的差異。