No. The significant difference between Ruby and Ruby on Rails is that ​​Ruby is a scripting language while Ruby on Rails is a web development framework. Hence, it’s technically incorrect to oppose Ruby vs. Ruby on Rails. The latter cannot exist without the former.
At the same time, the emergence of Rails boosted the popularity of Ruby by enhancing some of its characteristics.