spenceryi

求大神带升级ruby到1.9.3以上啊,

  •  
  •   spenceryi · May 3, 2013 · 6100 views
    This topic created in 4762 days ago, the information mentioned may be changed or developed.
    我的是1.8的!!!要用appfog,tunnel要装caldecott,caldecott要1.9.3以上啊!!怎么试都不行!!啊啊啊啊啊!!MAC OS 10.8.3,要链接appfog数据库啊啊啊啊
    14 replies    1970-01-01 08:00:00 +08:00
    F281M6Dh8DXpD1g2
        1
    F281M6Dh8DXpD1g2  
       May 3, 2013
    用rvm吧
    spenceryi
        2
    spenceryi  
    OP
       May 3, 2013
    @liprais 用了。。还是安不了。。
    rankjie
        3
    rankjie  
       May 3, 2013 via iPhone
    spenceryi
        4
    spenceryi  
    OP
       May 3, 2013
    @rankjie
    @liprais Skipping update of certificates in '/usr/local/etc/openssl/cert.pem'.
    RVM autolibs is now configured with mode '2' => 'check and stop if missing',
    please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
    or visit https://rvm.io/rvm/autolibs for more information.
    Keinez
        5
    Keinez  
       May 3, 2013
    Appfog的doc不是有mac的af安装步骤么……其中ruby1.9.3安装之前要有homebrew和libksba……LZ是否漏掉?

    用的Windows,之前也是折腾了好半天才弄上caldecott……
    txx
        6
    txx  
       May 4, 2013 via iPhone
    @spenceryi rvm 在mac上的依赖很奇怪的 而且如果你要用 brew装依赖的话。好几个源还被墙了,以及不是让你 run 'rvm autolibs enable'么?
    terry
        7
    terry  
       May 4, 2013
    用 rbenv + ruby-build 吧,RVM 太重了。
    allenhsu
        9
    allenhsu  
       May 4, 2013
    rbenv +1
    用着很干净,需要习惯性 rehash
    spenceryi
        10
    spenceryi  
    OP
       May 4, 2013
    Error running './configure --prefix=/Users/spencer/.rvm/rubies/ruby-2.0.0-p0 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libxml2:/usr/local/opt/libxslt:/usr/local/opt/libksba:/usr/local/opt/openssl:/usr/local/opt/sqlite --disable-install-doc --without-tcl --without-tk --enable-shared',
    please read /Users/spencer/.rvm/log/ruby-2.0.0-p0/1367736523_configure.log
    There has been an error while running configure. Halting the installation.

    老是这个错误,是怎么了,用rvm安装
    spenceryi
        11
    spenceryi  
    OP
       May 4, 2013
    @liprais
    [2013-05-05 14:51:37] ./configure
    configure: WARNING: unrecognized options: --without-tcl, --without-tk
    checking build system type... x86_64-apple-darwin12.3.0
    checking host system type... x86_64-apple-darwin12.3.0
    checking target system type... x86_64-apple-darwin12.3.0
    checking whether the C compiler works... no
    configure: error: in `/Users/spencer/.rvm/src/ruby-2.0.0-p0':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    kingwkb
        12
    kingwkb  
       May 4, 2013
    rbenv 比 rvm 好用
    spenceryi
        13
    spenceryi  
    OP
       May 4, 2013
    @kingwkb
    @allenhsu
    @Pazzilivo
    @terry
    @txx
    @Keinez
    @rankjie
    @liprais

    搞定了,胃疼。。。。哈哈,谢谢大家~~~
    terry
        14
    terry  
       May 4, 2013
    @allenhsu rbenv-rehash
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3024 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 15:11 · PVG 23:11 · LAX 08:11 · JFK 11:11
    ♥ Do have faith in what you're doing.