Skip to content

Instantly share code, notes, and snippets.

@anlek
Created November 3, 2016 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anlek/8f8f4d6c12d60ae3931d2618a675a407 to your computer and use it in GitHub Desktop.
Save anlek/8f8f4d6c12d60ae3931d2618a675a407 to your computer and use it in GitHub Desktop.
Ruby 2.3 installation freezes during building of Passenger-Docker
In case of problems: https://rvm.io/help and https://twitter.com/rvm_io
+ Updating /etc/profile.d/rvm_secure_path.sh
+ chmod +x /etc/profile.d/rvm_secure_path.sh
+ usermod -a -G rvm app
+ install -o root /pd_build/ruby_support/system-rvm-exec.sh /usr/bin/rvm-exec
+ Creating /usr/bin/ruby
+ Creating /usr/bin/gem
+ Creating /usr/bin/rake
+ Creating /usr/bin/bundle
+ Creating /usr/bin/bundler
+ In /tmp:
+ mkdir -p ruby-fake/DEBIAN
+ cp /pd_build/ruby_support/dpkg-control ruby-fake/DEBIAN/control
+ dpkg-deb -b ruby-fake .
dpkg-deb: building package 'ruby-fake' in './ruby-fake_1.0.0_all.deb'.
+ dpkg -i ruby-fake_1.0.0_all.deb
Selecting previously unselected package ruby-fake.
(Reading database ... 16359 files and directories currently installed.)
Preparing to unpack ruby-fake_1.0.0_all.deb ...
Unpacking ruby-fake (1.0.0) ...
Setting up ruby-fake (1.0.0) ...
+ /usr/local/rvm/bin/rvm install ruby-2.3.1
Searching for binary rubies, this might take some time.
No binary rubies available for: ubuntu/16.04/x86_64/ruby-2.3.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: gawk, libreadline6-dev, zlib1g-dev, libssl-dev, libyaml-dev, libsqlite3-dev, sqlite3, libgmp-dev, libgdbm-dev, libncurses5-dev, automake, libtool, bison, libffi-dev................
Requirements installation successful.
Installing Ruby from source to: /usr/local/rvm/rubies/ruby-2.3.1, this may take a while depending on your cpu(s)...
ruby-2.3.1 - #downloading ruby-2.3.1, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 13.7M 100 13.7M 0 0 1371k 0 0:00:10 0:00:10 --:--:-- 3092k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.3.1 - #extracting ruby-2.3.1 to /usr/local/rvm/src/ruby-2.3.1....
ruby-2.3.1 - #configuring
@anlek
Copy link
Author

anlek commented Nov 3, 2016

Read more on this at: phusion/passenger-docker#158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment