Loading ...
Sorry, an error occurred while loading the content.
 

Re: rubygems -- dobel.. ada yang tau kenapa?

Expand Messages
  • Arie Kusuma Atmaja
    ... alah! tertipuuu http://www.tmtm.org/en/mysql/ruby/ ternyata ini nih ada nih :
    Message 1 of 3 , Jul 31, 2006
      Arie Kusuma Atmaja wrote:
      > coba perhatikan itu ada dobel -- sebelum with baru dia mau tuh mulus.
      > ada yg uda tau belum?
      > # lagi belom lihat source rubygems tersebut mode on
      >
      alah! tertipuuu
      http://www.tmtm.org/en/mysql/ruby/

      ternyata ini nih ada nih :
      http://weblog.rubyonrails.com/2005/10/30/get-10-15-more-performance-with-mysql-rails/

      awas balik ke budaya awal: nanya sendiri jawab sendiri LOL
      sorry for the noise. :">

      > ariekeren:/usr/local/bin arie$ sudo gem install mysql -y --rdoc
      > --source=mirrors.imt.co.id --with-mysql-dir=/usr/local/mysql
      > ERROR: While executing gem ... (OptionParser::InvalidOption)
      > invalid option: --with-mysql-dir=/usr/local/mysql
      > ariekeren:/usr/local/bin arie$ sudo gem install mysql -y --rdoc
      > --source=mirrors.imt.co.id -- --with-mysql-dir=/usr/local/mysql
      > Select which gem to install for your platform (powerpc-darwin8.6.0)
      > 1. mysql 2.7.2006.05.10 (mswin32)
      > 2. mysql 2.7.2006.04.21 (mswin32)
      > 3. mysql 2.7.1 (mswin32)
      > 4. mysql 2.7 (ruby)
      > 5. mysql 2.6 (ruby)
      > 6. mysql 2.5.1 (ruby)
      > 7. Cancel installation
      > > 4
      > Building native extensions. This could take a while...
      > ruby extconf.rb install mysql -y --rdoc --source=mirrors.imt.co.id --
      > --with-mysql-dir=/usr/local/mysql
      > 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... yes
      > checking for mysql_ssl_set()... yes
      > checking for mysql.h... yes
      > creating Makefile
      >
      > make
      > gcc -fno-common -O -pipe -I/opt/local/include -fno-common -pipe
      > -fno-common -I. -I/opt/local/lib/ruby/1.8/powerpc-darwin8.6.0
      > -I/opt/local/lib/ruby/1.8/powerpc-darwin8.6.0 -I. -DHAVE_MYSQL_SSL_SET
      > -DHAVE_MYSQL_H -I/usr/local/mysql/include -O -pipe -I/opt/local/include
      > -c mysql.c
      > cc -dynamic -bundle -undefined suppress -flat_namespace -L/opt/local/lib
      > -L"/usr/local/mysql/lib" -L"/opt/local/lib" -o mysql.bundle mysql.o
      > -lruby -lmysqlclient -lz -lm -lpthread -ldl -lobjc
      >
      > make install
      > mkdir -p /opt/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib
      > /usr/bin/install -c -m 0755 mysql.bundle
      > /opt/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib
      >
      > make clean
      > Successfully installed mysql-2.7
      > ariekeren:/usr/local/bin arie$
      >
      >


      --
      Arie Kusuma Atmaja A.K.A Arie A.K.A ariekeren / YM! = riyari3
      http://ariekusumaatmaja.wordpress.com
      Let's build Ruby Indonesia stronger
      http://groups.yahoo.com/groups/id-ruby # Indonesia Ruby Society

      Dibutuhkan programmer ruby wanita aduhai cantik nan jelita lembut
      gemulai hati fisik penuh kehangatan dan semua semuanya deh buat menjadi
      pendamping setia sehidup semati ariekeren. hubungi via Yahoo Messenger
      di riyari3@...
      Note! Hanya buat yang serius! Lebih diutamakan : Asli Paris dan punya
      jiwa dan hati -+ kek Arwen
    • Edwin Pratomo
      ... masih mending dijawab sendiri :-) btw saya dulu pernah nanya ini tapi arah pertanyaannya beda: bagaimana pass opsi yang spesifik untuk gem tertentu ke
      Message 2 of 3 , Jul 31, 2006
        > Arie Kusuma Atmaja wrote:
        > > coba perhatikan itu ada dobel -- sebelum with baru dia mau tuh mulus.
        > > ada yg uda tau belum?
        > > # lagi belom lihat source rubygems tersebut mode on
        > >
        >
        > awas balik ke budaya awal: nanya sendiri jawab sendiri LOL
        > sorry for the noise. :">
        >

        masih mending dijawab sendiri :-)
        btw saya dulu pernah nanya ini tapi arah pertanyaannya beda: bagaimana pass
        opsi
        yang spesifik untuk gem tertentu ke rubygem?

        jadi pertanyaan menemukan jawabnya pada pertanyaan lain :-)

        > > ariekeren:/usr/local/bin arie$ sudo gem install mysql -y --rdoc
        > > --source=mirrors.imt.co.id -- --with-mysql-dir=/usr/local/mysql


        rgds,
        Edwin.


        __________________________________________________
        Do You Yahoo!?
        Tired of spam? Yahoo! Mail has the best spam protection around
        http://mail.yahoo.com
      Your message has been successfully submitted and would be delivered to recipients shortly.