First of all you should download and install K/Ubuntu 14.04 LTS. Then open software center, navigate to [ edit / software sources / other software tab ] and check “Canonical Partners” for the software sources.
Then:
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion ncurses-term exuberant-ctags libnotify-bin curl autoconf make automake ssh git-core git-doc imagemagick libpq-dev vim libreadline5 libmysqlclient-dev imagemagick libmagickcore-dev libmagickwand-dev tmux libcurl4-openssl-dev libsqlite3-0 libsqlite3-dev sqlite3 postgresql-contrib mysql-server memcached gimp chromium-browser chromium-codecs-ffmpeg-extra chromium-browser-inspector bind9 terminator libqt4-dev xvfb gitk postgresql pgadmin3 rar unrar ubuntu-restricted-extras vlc compizconfig-settings-manager gstreamer0.10-plugins-ugly flashplugin-installer postgresql-client libgmp3-dev zsh
in terminator preference (profiles/command) check 'run command as a login shell'
https://gist.github.com/tsabat/1498393
sudo su postgres
psql
CREATE USER selleo with password 'selleo';
alter user selleo INHERIT superuser;
Remember, you're doing it as your regular user, not as super user!
\curl -sSL https://get.rvm.io | bash -s stable --ruby
The comprehensive guide on how to install various version of Java can be found here. Please note, that your preference is to install the Oracle's version. https://help.ubuntu.com/community/Java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Download the latest version. You may need to export JDK_HOME variable.
~/.profile
export JDK_HOME="/usr/lib/jvm/java-8-oracle"
Also you need Oracle's version of java. After you install Rubymine, it is wise to configure rubymine64.vmoptions located in /bin to improve performance.