Fix #69 - Filter out 'ruby-' in .ruby-version file
Newer versions of Rails is pre-baked to have `ruby-x.x.x` in the `.ruby-version` file. This breaks the legacy support as the whole contents of the file is used as the ruby version. This PR adds a filtering when getting the legacy version from the file (remove `ruby-` prefix if it exists).
Showing
想要评论请 注册 或 登录