Use .railsrc while creating new plugin if available

- Fixes #10700
Merge pull request #10712 from prathamesh-sonpatki/plugin-railsrc

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