Adds Rails and version check