As a direct reply to your question
I would say Japan is kind of slow on Rails part, there is a strong believe that Rails/Ruby might not be usable for business screens.
I have been living there for 15years, and have been working on multiple languages.
I would recommend
1) Ruby/Rails --> look for companies working on this field, it is kind of hard to locate good RoR programmers. There is a group of people but still not a big movements.
2) Php there are still lots of application developed using phps.
3) Java/C#/C the classic, if you are planning to work on big team there this are still the standards. All the big companies ( those like NEC, Hitachi etc. ) spend lots of money building frameworks on Java and they still wanna stick with it.
From my personal opinion I would say software in Japan is more towards outdated technologies. Most of the market are still control by stereotype ppl with strong old believes which I could say, "Hosyuha" which means "conservatives".
Other Reverences that I could give you to support
1) Mixi ( the biggest sns in Japan ) build in 2005 --> Perl
2) Gree ( second biggest sns ) --> PHP
3) Cookpad ( cooking recipies sites ) --> Re coded in RoR
4) Rakutan --> PHP/Perl/Ruby etc.
Have fun.