Skip to content

Instantly share code, notes, and snippets.

Are you sure you wish to upgrade from ruby-2.0.0-p247 to ruby-2.1.1? (Y/n): y
Installing new ruby ruby-2.1.1
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/12.04/x86_64/ruby-2.1.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Requirements installation successful.
Installing Ruby from source to: /home/luna/.rvm/rubies/ruby-2.1.1, this may take a while depending on your cpu(s)...
ruby-2.1.1 - #downloading ruby-2.1.1, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/12.04/x86_64/ruby-2.1.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for ubuntu.
Installing requirements for ubuntu.
Updating system.................
Installing required packages: patch, gawk, g++, gcc, make, libc6-dev, patch, libreadline6-dev, zlib1g-dev, libssl-dev, libyaml-dev, libsqlite3-dev, sqlite3, autoconf, libgdbm-dev, libncurses5-dev, automake, libtool, bison, pkg-config, libffi-dev.........................
Requirements installation successful.
Installing Ruby from source to: /home/luna/.rvm/rubies/ruby-2.1.1, this may take a while depending on your cpu(s)...
ruby-2.1.1 - #downloading ruby-2.1.1, this may take a while depending on your connection...
@1v
1v / gist:10272479
Last active June 6, 2017 01:27 — forked from ancap/gist:7385992
Ruby on Rails installation on Ubuntu 12.04 LTS + Nginx + Puma

Ruby on Rails installation on Ubuntu 12.04 LTS + Nginx + Puma

Adding new user

Create new user:

sudo useradd -G sudo -m -s /bin/bash luna

blog.lunarlogic.io

Change password: