V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Livid
266.39D
579.08D
V2EX  ›  Ruby

Ruby on Mac

  •  
  •   Livid ·
    PRO
    · Dec 13, 2022 · 5812 views
    This topic created in 1231 days ago, the information mentioned may be changed or developed.
    https://www.rubyonmac.dev/

    解决 Ruby 开发环境在 macOS 上各种安装问题的方案。
    7 replies    2022-12-28 20:55:14 +08:00
    serco
        1
    serco  
       Dec 13, 2022
    Ruby 在 mac 上不是已经够友好了嘛。。。这个居然还要 49 刀起。。。
    dddd1919
        2
    dddd1919  
       Dec 13, 2022
    Mac 装 Ruby 前确保 Command Line Tools 更新到最新,然后再装 RVM ,再用 RVM 装 Ruby 对应版本,整个流程保证网络畅通,基本上很顺滑

    社区的中文 Guide: https://ruby-china.org/wiki/install_ruby_guide
    xtinput
        3
    xtinput  
       Dec 13, 2022   ❤️ 1
    brew 安装不就 OK 了?
    serco
        4
    serco  
       Dec 13, 2022
    比较方便的方式 https://github.com/rbenv/rbenv 按文档走就行了。

    如果只是随便用用,mac 自带的 ruby 也勉强可以用。
    inhzus
        5
    inhzus  
       Dec 13, 2022
    asdf, rbenv 这些方案也蛮好的..
    haoji
        6
    haoji  
       Dec 13, 2022
    Hi! It looks like you're from South Africa 🇿🇦. I support Purchasing Power Parity, so if you need it, use code “75FE64A2” to get 50% off at checkout. To enter the code, click on "Add discount" on the very first checkout screen.
    Mark24
        7
    Mark24  
       Dec 28, 2022
    用户用 brew

    开发管理多版本 asdf
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   946 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 21:16 · PVG 05:16 · LAX 14:16 · JFK 17:16
    ♥ Do have faith in what you're doing.