Adds rails plugin. Sets window height/width.