What do you mean by "in detail"? Assuming that you first learnt C, how long did it take you to learn C++ "in detail"?
If you wish to proceed I suggest taking a couple of days out and working right through the tutorial at http://www.railstutorial.org, which is free to use online. That will give you an understanding of the basics of Ruby and Rails. You should then be able to answer the question yourself.