Download and Install rb-mysql on Mac OS X
Thursday the 3rd of July, 2008

    rb-mysql  most recent diff


      View the most recent changes for the rb-mysql port at: rb-mysql.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for rb-mysql.
      The raw portfile for rb-mysql is located here:
      http://rb-mysql.darwinports.com/dports/ruby/rb-mysql/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/rb-mysql
      Google
      Web Darwinports.com



      # $Id: Portfile 37289 2008-06-02 14:20:29Z febeling macports.org $

      PortSystem 1.0
      PortGroup ruby 1.0

      revision 1

      ruby.setup {mysql mysql-ruby} 2.7.5 extconf.rb {README.html README_ja.html}

      Maintainers: roberto freebsd.org febeling

      Description: Ruby API for the Mysql database
      Long Description: This is the Ruby library for accessing Mysql databases from within Ruby. It works with Mysql 4 or 5.
      Category:-append databases
      Homepage: http://www.tmtm.org/mysql/ruby/
      master_sites http://tmtm.org/downloads/mysql/ruby/
      checksums md5 4e42869196aa84ca17e70ab2287f8830
      Platform: darwin

      depends_lib port:mysql5
      depends_build port:ruby
      configure.args --with-mysql-config=${prefix}/bin/mysql_config5

      Variant: mysql4 description "Build using MySQL 4.1 client library" {
      depends_lib-delete port:mysql5
      configure.args-delete --with-mysql-config=${prefix}/bin/mysql_config5

      depends_lib-append port:mysql4
      configure.args-append --with-mysql-config=${prefix}/bin/mysql_config
      }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/rb-mysql
      % sudo port install rb-mysql
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching rb-mysql
      ---> Verifying checksum for rb-mysql
      ---> Extracting rb-mysql
      ---> Configuring rb-mysql
      ---> Building rb-mysql with target all
      ---> Staging rb-mysql into destroot
      ---> Installing rb-mysql
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using rb-mysql with these commands:
      %  man rb-mysql
      % apropos rb-mysql
      % which rb-mysql
      % locate rb-mysql

     Where to find more information:

    Darwin Ports



    image test