@skandhas 那就是同一类的问题吧,mysql,我在 mac 上没安好,换了 ubantu,先装好了 mysql,再安装 native gem,那个应该算解决了.thx~
@ichord 是按照 wiki 来的,但是你刚刚说的那个 imagemagick 不知为何没装到...那我再重弄一次吧.thx~
@lgn21st 我貌似已经用了 taobao 的源了... root@SNDA-192-168-1-95:~# gem sources -l *** CURRENT SOURCES ***
@Rei 请教 root@SNDA-192-168-1-95:~# gem install rmagick -v '2.13.1' Building native extensions. This could take a while... ERROR: Error installing rmagick: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb checking for Ruby version >= 1.8.5... yes extconf.rb:128: Use RbConfig instead of obsolete and deprecated Config. checking for gcc... yes checking for Magick-config... no Can't install RMagick 2.13.1. Can't find Magick-config in /usr/local/rvm/gems/ruby-1.9.3-p194/bin:/usr/local/rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p194/bin:/usr/local/rvm/gems/ruby-1.9.3-p194/bin:/usr/local/rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p194/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
*** 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.
Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/usr/local/rvm/rubies/ruby-1.9.3-p194/bin/ruby
Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p194/gems/rmagick-2.13.1 for inspection. Results logged to /usr/local/rvm/gems/ruby-1.9.3-p194/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
@skandhas 明白了..打扰了,感谢~
@geekontheway Levan:rabel-1.2 qwxwj$ gem install mysql Building native extensions. This could take a while... ERROR: Error installing mysql: ERROR: Failed to build gem native extension.
/Users/qwxwj/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb checking for mysql_query() in -lmysqlclient... no checking for main() in -lm... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lz... yes checking for mysql_query() in -lmysqlclient... no checking for main() in -lsocket... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lnsl... no checking for mysql_query() in -lmysqlclient... no checking for main() in -lmygcc... no checking for mysql_query() in -lmysqlclient... no *** 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.
Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/Users/qwxwj/.rvm/rubies/ruby-1.9.2-p290/bin/ruby --with-mysql-config --without-mysql-config --with-mysql-dir --without-mysql-dir --with-mysql-include --without-mysql-include=${mysql-dir}/include --with-mysql-lib --without-mysql-lib=${mysql-dir}/lib --with-mysqlclientlib --without-mysqlclientlib --with-mlib --without-mlib --with-mysqlclientlib --without-mysqlclientlib --with-zlib --without-zlib --with-mysqlclientlib --without-mysqlclientlib --with-socketlib --without-socketlib --with-mysqlclientlib --without-mysqlclientlib --with-nsllib --without-nsllib --with-mysqlclientlib --without-mysqlclientlib --with-mygcclib --without-mygcclib --with-mysqlclientlib --without-mysqlclientlib
Gem files will remain installed in /Users/qwxwj/.rvm/gems/ruby-1.9.2-p290/gems/mysql-2.8.1 for inspection. Results logged to /Users/qwxwj/.rvm/gems/ruby-1.9.2-p290/gems/mysql-2.8.1/ext/mysql_api/gem_make.out
@ruby_sky 没有....在 stackoverflow 上搜,都是 linux 的解决方式 请问怎么个重装法?
@AlphaLiu Levan:~ qwxwj$ sudo brew link cmake Password: Cowardly refusing to `sudo brew link'
@geekontheway 没有...
@AlphaLiu
Levan:rabel-1.2 qwxwj$ brew link cmake
Linking /usr/local/Cellar/cmake/2.8.7... ln: ctest: Permission denied
Error: Could not create symlink: /usr/local/bin/ctest.
@geekontheway 在 stackoverflow 找不到对应的答案 #2 发的是 linux 的. 能告诉我怎么解决么?
呃,感谢各位的回复。看完先。
@lgn21st $ brew install mysql Error: You must `brew link cmake' before mysql can be installed
happy birthday~
MIT 不还有个 Rails 的课程么
Thanks!
@hayeah 难怪,与一般人讲话方式不太一样
在文昌街 找不到了。。。
文武俱全...
https://github.com/geoffgarside/TextMate-Themes/downloads 这里面有二三十个配色 Twilight 这些貌似都有 https://github.com/Anomareh/Monokai-Dark.tmTheme/downloads 这个是 Monokai 主题
喜欢骚红
@kfll 谢谢
@kfll Thx,这样也行,只是没那么方便罢了~
敬礼!
@bl0ckme 哦~
再有 youku,56 等视频网站,也的确有几个视频介绍,不过还没找多国内文档版的相关经验分享
http://projects.serenity.de/textmate/tutorials/basics/ 搜到一份全英的 textmate 基础教程,希望能知道更多 ROR 方面的 各位常用的有哪些东西?可以分享一下吗?做个总结,也方便后人啊~
@Juanito 好的~也是,自己太浮躁了。。。Thx~