The Ruby aspect of the framework is the programming language which works in conjunction with the Rails component, and which is popular with developers thanks to its compact, elegant and concise language.
In simple terms, Ruby on Rails is a tool that enables the development of websites and apps by handling the repetitive tasks associated with development process while providing a framework and structure within which developers can create code.