How to install via rbenv ruby with railsexpress patch

First file is version description:
2.1.5

build_package_patch_ruby_railsexpress() {
  fetch_git rvm-patchsets git://github.com/skaes/rvm-patchsets.git master

  for p in rvm-patchsets/patches/ruby/2.1.5/railsexpress/* ; do
    patch -p1 < $p
  done
}

install_package "openssl-1.0.1j" "https://www.openssl.org/source/openssl-1.0.1j.tar.gz#cff86857507624f0ad42d922bb6f77c4f1c2b819" mac_openssl --if has_broken_mac_openssl
install_package "ruby-2.1.5" "http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.5.tar.gz#4305cc6ceb094df55210d83548dcbeb5117d74eea25196a9b14fa268d354b100" patch_ruby_railsexpress ldflags_dirs standard verify_openssl

Second script for install:
install.sh

#!/usr/bin/env bash

if command -v brew > /dev/null
then
  if brew --prefix openssl > /dev/null
  then
    CONFIGURE_OPTS="$CONFIGURE_OPTS --with-openssl-dir=`brew --prefix openssl`"
  fi

  if brew --prefix readline > /dev/null
  then
    CONFIGURE_OPTS="$CONFIGURE_OPTS --with-readline-dir=`brew --prefix readline`"
  fi
fi

echo "==> Installing ruby version:"
rbenv install ./2.1.5

Fast installation:

git clone https://gist.github.com/b54469ce18c892d671ad.git ruby-2.1.5-railsexpress;
cd ruby-2.1.5-railsexpress;
bash ./install.sh;

That’s all)

 
4
Kudos
 
4
Kudos

Now read this

passenger-config restart-app with capistrano

I’m sure not only me having this issue after update capistrano with passenger v.5 Basically problem it looking like that: INFO [c55a19d7] Running /usr/local/rvm/bin/rvm default do passenger-config restart-app /home/model/staging... Continue →