Ruby may pay more but once you get to the higher end of the scale, you'll find many fewer jobs paying the amount you want.
EDIT:
In 2008, after being at one company way too long, I was what would be considered a top C developer and there was a company offering me $20K more than I was a making. But I saw the pickings were slim. There were more jobs paying the same amount for “Enterprise C# developers”. But I wasn’t qualified for them. I took a job paying only $7K more than I was making as a high entry level C# developer.
10 years later, there are no jobs in my local market paying $65K more than I was making in 2008 for C or C++ developers. There are some paying C# developers that amount (I have one).
I’m not bragging. According to all of the data I can gather, I’m making the median for my market for a “.Net Architect”.
I guess my point is that high salaries aren’t limited to .NET and Java jobs. I guess I’d also challenge the idea that a Ruby job paying $100k+ doesn’t “pay well” (outside of SV anyway). Fast food doesn’t pay well. Working in the higher levels of tech absolutely does. My very first job was working the drive thru at a Taco Bell, and it still blows my mind when I think about how much I make now... (also not bragging, just trying to add some perspective).
[0]https://insights.stackoverflow.com/survey/2017#top-paying-te...