Upgrade/Install ruby 2.1.2

# Reference http://stackoverflow.com/a/18490935/2037928
# Login as root
# Install needed packages
apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
cd /tmp
# Download appropriate ruby version https://www.ruby-lang.org/en/downloads/
wget http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz
# Unpack
tar -xvzf ruby-2.1.2.tar.gz
cd ruby-2.1.2/
# Compile from source
./configure --prefix=/usr/local
make
make install
# Make sure deploy user has access to installing gems
chown -R deploy:staff /usr/local/bin
chown -R deploy:staff /usr/local/lib/ruby
# Login as deploy user
# Install bundler
gem install bundler
# Locally
cap production deploy
# Remove the old manifest.yml file
rm /u/apps/YOUR_APP_NAME/shared/assets/manifest.yml
时间: 2024-08-10 12:08:06

Upgrade/Install ruby 2.1.2的相关文章

How to install ruby on mac/ change ruby source in china

his one is tailor made for the Basix users among you. If you've been itching to try out Ruby and/or Rails, if the Terminal is somewhat new to you, you may find that even the process of installing it can generate countless confusing errors. This artic

Install ruby via RVM

1. Install RVM and refer to https://rvm.io/ -- gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB -- \curl -sSL https://get.rvm.io | bash -s stable [[email protected] ~]$

Step by step instruction for upgrade / install V97 IDS FORD

After all can V96 IDS FORD client software, you can install the V81 or V91 in three days trial period, and then install V96, and then install the V97. According to our upgrade method, after the upgrade it can be used directly. If you are already usin

How to Install Xcode, Homebrew, Git, RVM, Ruby & Rails on Snow Leopard, Lion, Mountain Lion, and Mavericks

After following many outdated and incomplete instructions for setting up a web development environment on a Mac (back in March 2012), and spending a lot of time finding solutions to the problems I encountered along the way, I decided to put together

Ubuntu Install Rbenv & Ruby & Rails (Week I)

Advanced Software Engineering The First Class Part I 1 Install Essential Dependecies sudo apt-get update sudo apt-get install -y build-essential openssl curl libcurl3-dev libreadline6 libreadline6-dev git-core zlib1g zlib1g-dev libssl-dev libyaml-dev

ubuntu 14.04中安装 ruby on rails 环境(填坑版) 呕血推荐

环境:在win7 上Vmware虚拟机环境中安装的ubuntu 14.04 开发相关: ruby 2.2.0 rails 4.2.0 sublime text 3 本文说明:所有的命令均在$ 之后,若$前边带有信息,只是为了方便你理解和与自己对照. 安装过程中由于这样那样的原因,产生许多坑,所谓坑是对初学者来说,大牛们飘过吧. 步骤1.从官网下载ubuntu 14.04 X64 http://124.205.69.136/files/2013000000502943/202.141.176.11

【ruby】ruby基础知识

Install Ruby(安装) For windows you can download Ruby from http://rubyforge.org/frs/?group_id=167 for Linux tryhttp://www.rpmfind.net. Our first program(从此开始) Enter the following into the file, "test.rb". ? 1 puts "Howdy!" At the C: promp

Ruby on Rails 搭建环境 (ubuntu)

1.更新系统软件包 $ sudo apt-get update $ sudo apt-get upgrade 2.安装curl $ sudo apt-get install curl 3.安装rvm $ curl -L get.rvm.io | bash -s stable 3.1.临时加载rvm环境 $ source ~/.bashrc $ source ~/.bash_profile 3.2.更改rvm源服务器资源信息 $ sed -i -e 's/ftp\.ruby-lang\.org\/

ruby安装

Linux安装: apt-get install ruby 看官方推荐的: http://www.ruby-lang.org/en/documentation/installation/#apt Debian GNU/Linux and Ubuntu use the apt package manager. You can use it like this: $ sudo apt-get install ruby-full As of writing, the ruby-full package