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

2013-05-03 22:34:15 +08:00
 spenceryi
我的是1.8的!!!要用appfog,tunnel要装caldecott,caldecott要1.9.3以上啊!!怎么试都不行!!啊啊啊啊啊!!MAC OS 10.8.3,要链接appfog数据库啊啊啊啊
5234 次点击
所在节点    Ruby on Rails
14 条回复
liprais
2013-05-03 22:40:49 +08:00
用rvm吧
spenceryi
2013-05-03 23:11:29 +08:00
@liprais 用了。。还是安不了。。
rankjie
2013-05-03 23:18:24 +08:00
spenceryi
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
2013-05-03 23:42:02 +08:00
Appfog的doc不是有mac的af安装步骤么……其中ruby1.9.3安装之前要有homebrew和libksba……LZ是否漏掉?

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

搞定了,胃疼。。。。哈哈,谢谢大家~~~
terry
2013-05-04 17:26:11 +08:00
@allenhsu rbenv-rehash

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/67636

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX