Use .railsrc while creating new plugin if available

- Fixes #10700