spenceryi

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

  •  
  •   spenceryi · May 3, 2013 · 6630 views
    This topic created in 4942 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
    F281M6Dh8DXpD1g2
    May 3, 2013
    1
    用rvm吧
    spenceryi
    spenceryi
    OP
    May 3, 2013
    2
    @liprais 用了。。还是安不了。。
    spenceryi
    spenceryi
    OP
    May 3, 2013
    4
    @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
    Keinez
    May 3, 2013
    5
    Appfog的doc不是有mac的af安装步骤么……其中ruby1.9.3安装之前要有homebrew和libksba……LZ是否漏掉?

    用的Windows,之前也是折腾了好半天才弄上caldecott……
    txx
    txx
    May 4, 2013 via iPhone
    6
    @spenceryi rvm 在mac上的依赖很奇怪的 而且如果你要用 brew装依赖的话。好几个源还被墙了,以及不是让你 run 'rvm autolibs enable'么?
    terry
    terry
    May 4, 2013
    7
    用 rbenv + ruby-build 吧,RVM 太重了。
    allenhsu
    allenhsu
    May 4, 2013
    9
    rbenv +1
    用着很干净,需要习惯性 rehash
    spenceryi
    spenceryi
    OP
    May 4, 2013
    10
    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
    spenceryi
    OP
    May 4, 2013
    11
    @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
    kingwkb
    May 4, 2013
    12
    rbenv 比 rvm 好用
    spenceryi
    spenceryi
    OP
    May 4, 2013
    13
    @kingwkb
    @allenhsu
    @Pazzilivo
    @terry
    @txx
    @Keinez
    @rankjie
    @liprais

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