ruby开发环境的搭建

"ruby开发"

Posted by yueLng on 2017-03-30

ruby开发环境

  • Mac OS本身自带ruby在系统目录 /System/Library/Frameworks/Ruby.framework/Versions/Current
    1
    2
    3
    4
    5
    # 通过homebrew安装ruby最新版
    brew update
    brew install ruby
    # 安装rails
    gem install rails