求大神带升级ruby到1.9.3以上啊, - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
spenceryi
V2EX    Ruby on Rails

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

  •  
  •   spenceryi 2013-05-03 22:34:15 +08:00 5670 次点击
    这是一个创建于 4543 天前的主题,其中的信息可能已经有所发展或是发生改变。
    我的是1.8的!!!要用appfog,tunnel要装caldecott,caldecott要1.9.3以上啊!!怎么试都不行!!啊啊啊啊啊!!MAC OS 10.8.3,要链接appfog数据库啊啊啊啊
    14 条回复    1970-01-01 08:00:00 +08:00
    F281M6Dh8DXpD1g2
        1
    F281M6Dh8DXpD1g2  
       2013-05-03 22:40:49 +08:00
    用rvm吧
    spenceryi
        2
    spenceryi  
    OP
       2013-05-03 23:11:29 +08:00
    @liprais 用了。。还是安不了。。
    rankjie
        3
    rankjie  
       2013-05-03 23:18:24 +08:00 via iPhone
    spenceryi
        4
    spenceryi  
    OP
       2013-05-03 23:31:39 +08:00
    @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  
       2013-05-03 23:42:02 +08:00
    Appfog的doc不是有mac的af安装步骤么……其中ruby1.9.3安装之前要有homebrew和libksba……LZ是否漏掉?

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

    搞定了,胃疼。。。。哈哈,谢谢大家~~~
    terry
        14
    terry  
       2013-05-04 17:26:11 +08:00
    @allenhsu rbenv-rehash
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     5327 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 27ms UTC 09:15 PVG 17:15 LAX 02:15 JFK 05:15
    Do have faith in what you're doing.
    ubao snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86