Use .railsrc while creating new plugin if available. Fixes #10700

- Fixes #10700