This is the error I get when I try to do a "gem install rails -v 4.1.0" using Ruby 2.1.1 and RVM.
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) bad response Service Unavailable 503 (http://api.rubygems.org/api/v1/dependencies?gems=activerecord)
Not sure what is causing this, anybody have any ideas?
Sometimes it is just a server problem.
I waited a few minutes and tried again and it worked.
It would be a ssl problem.
Change your gem sources and try again.
Make sure your rvm ssl certificates are up to date.
Check their status
Update them!
Also try