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

以前 Leopard 上用 ruby, 后来很长一段时间没用,现在已经升级到 yosemite 之后, 出现 Path 问题,小弟初学者,求指点

  •  
  •   meteor2013 · Jun 11, 2015 · 3832 views
    This topic created in 3974 days ago, the information mentioned may be changed or developed.
    执行$ ruby -v 时候,出现以下问题

    ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.i386-darwin14]
    dyld: lazy symbol binding failed: Symbol not found: _ruby_run

    Referenced from: /usr/local/bin/ruby
    Expected in: /usr/lib/libruby.dylib

    dyld: Symbol not found: _ruby_run
    Referenced from: /usr/local/bin/ruby
    Expected in: /usr/lib/libruby.dylib

    Trace/BPT trap: 5

    我在echo $PATH里面,还有bash_profile里面看了,修改PATH没有解决
    请问如何修改路径才可以解决这个问题?
    1 replies    2015-06-11 01:15:15 +08:00
    meteor2013
        1
    meteor2013  
    OP
       Jun 11, 2015
    感觉是不是系统里面有两个版本的ruby,还是有路径知道两个不同的地方去了?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1066 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:52 · PVG 06:52 · LAX 15:52 · JFK 18:52
    ♥ Do have faith in what you're doing.