Since RubyMine 3.1 you can drag tabs across panes/windows and out of the main window to create new windows.
Save money by migrating from AWS to our fully managed hosting in Germany.
For any version below 3.1 do it like this (will only allow dragging tabs inside their pane, not across panes):
Seriously.