I was annoyed that RubyMine's autocompletion did not work via Ctrl+Space for me. In fact, it did not work in any application.
Turns out that keyboard combination was hijacked by Ubuntu as it's the default for switching input languages (i.e. keyboard layouts). If you use only 1 language/layout, you will not notice except for the key not working.
To fix it, do the following:
ibus-setup
(e.g. from a terminal). This will open a GUI dialog.<Control>space
".<Control><Shift><Super>space
".Ctrl+Space should now work for you.