I just want to second this. I participated in GSoC 2009 and absolutely loved it. I'm from the US and worked with 2 mentors in Switzerland, a student in India and a student Colombia.
We worked on a package management system like APT for Windows, and while it was a bit unrealistic for 3 students in 3 months, I learned more in those 3 months than entire years at college.
Edit: There's also a Ruby Summer of Code in the same respect as the Google one. http://rubysummerofcode.org/