zoukankan      html  css  js  c++  java
  • Mac系统升级ruby的一些命令

    1.Check your ruby version

    ruby -v


    2.Install rvm

    bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)

    3.Install homedrew

    /usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"

    4.Reload your shell environment:

    source ~/.bash_profile

    5.Find the requirements (follow the instructions):

    rvm requirements

    6.Verify RVM

    type rvm | head -n1

    7.install autoconf

    brew install automake

    8.Install ruby:

    rvm install 1.9.3 (or rvm install 1.9.3  --with-gcc=clang)

    9.Verify ruby version

    ruby -v


    
    


  • 相关阅读:
    集群资源队列监控:Grafana
    1
    3月9号
    jmx
    日常笔记
    nsenter命令简介
    一天2小时
    postgresql Centos7部署
    笔记5
    1
  • 原文地址:https://www.cnblogs.com/simonshi2012/p/2425141.html
Copyright © 2011-2022 走看看