With RubyMine, you can save and clear
contexts
without associating them with specific tasks.
To manage the current context independently from a task, do one of the following:
To save the current context, choose Tools | Tasks&Contexts | Save Context on the main menu or press Alt+Shift+SAlt+Shift+S.
To clear the current context without loading another one, choose Tools | Tasks&Contexts | Clear Context on the main menu or press Alt+Shift+XAlt+Shift+X.