接受远程吗?
.....额,不是男的咩
悲剧,我看成 17 号.....广州见了...
@Rei +1
不做 rails 的产品经理不是好程序员.....
广州路过帮顶.....大赞!
今天终于见到阿德了~哈哈.....谢谢分享的各位亲哇,ruby 的亲都是“dynamic language”er....
下次还要再去过,顺便练下 rails,下次不做卧底了.....
谢谢@adevadeh 的啤酒 =)
@saiga ,很好奇界面 UI 是怎么做的?
@neaghfoz ,看来跟我一样没逆袭成功的人还有....
还是没找到合理的解决办法,最后用 rvm 1.9.2 切换成其他版本进行了尝试,终于可以了.....
http://isitruby19.com/linecache19 貌似这里有解决方案,还没细看,先放在这里。
gem_make.out 的文件内容如下:
/home/zhkzyth/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for vm_core.h... no /home/zhkzyth/.rvm/gems/ruby-1.9.3-p194/gems/ruby_core_source-0.1.4/lib/ ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config. checking for vm_core.h... yes checking for version.h... yes checking for RUBY_VERSION_MAJOR in version.h... no Requesting http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz Downloading http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz checking for vm_core.h... yes checking for version.h... yes checking for RUBY_VERSION_MAJOR in version.h... no Makefile creation failed
NOTE: For Ruby 1.9 installation instructions, please see:
http://wiki.github.com/mark-moseley/ruby-debug
*** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
好主意,不过我现在是在做前端方面的工作,挂个 ubuntu 在虚拟机跑着的=.=....fedora 久仰了,不过木有尝试过....有空去了解下,谢谢@xds2000 拉...
@Rei ,墙的问题,新手区有..http://ruby-china.org/topics/4621
给其他想装的 Ruby 的童鞋,先用下 rvm(r=Ruby ,v =version ,m=management ),别一上来就来个 apt-get...在 ubuntu 那个悲催....可以参考社区的 wiki,http://ruby-china.org/wiki...写得真好!
@Rei 那么在 bash/shell 里面跑下 export http_proxy=“....”的话应该就可以走 proxy 去下载了吧?
@Rei ,我用了 rvm 了,不过在安装 rubygems-1.8.24 的时候卡了好久,log 如下:
curl: (28) connect() timed out! There was an error, please check /home/zhkzyth/.rvm/log/ruby-1.9.3-p194/*.log. Next we'll try to fetch via http. Trying ftp:// URL instead.
又是万能的墙么?
坑爹,我看还是直接用 rvm 好了
真奇怪,我明明装的是 ruby1.9.1-dev 版的,下面安装 linecache19 -v '0.5.11'的时候就报错了,错误的 log 在下面,引用的是“--ruby=/usr/bin/ruby1.8”的版本.....=.=....@Rei 大神,这个怎么搞
Building native extensions. This could take a while... ERROR: Error installing linecache19: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.
好像还是不行,@Rei .....是我的 rail 版本过高么,我看错误日志那里提示除了在安装 eventmachine 这个 gem 出现错误之外,还因为“require': cannot load such file -- mkmf (LoadError)”...
好吧,代码都凌乱了
shicun,一般这些分享会有 ppt 放出来么?
下了 4.0.2 的源码包,重新编译了一遍,在 ubuntu12.04 的环境下,st2 的版本号是 2181。。。还是不行~