Download and Install rb-rubygems version 1.2.0 on Mac OS X
Monday the 8th of September, 2008

    rb-rubygems  most recent diff


      View the most recent changes for the rb-rubygems port at: rb-rubygems.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for rb-rubygems.
      The raw portfile for rb-rubygems 1.2.0 is located here:
      http://rb-rubygems.darwinports.com/dports/ruby/rb-rubygems/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-rubygems
      Google
      Web Darwinports.com



      # $Id: Portfile 37986 2008-07-01 23:01:59Z mr_bond macports.org $

      PortSystem 1.0
      PortGroup ruby 1.0

      Name: rb-rubygems
      Category: ruby devel
      Version: 1.2.0
      #revision 0

      Homepage: http://www.rubygems.org
      master_sites http://rubyforge.org/frs/download.php/38646/

      distname rubygems-${version}
      dist_subdir ruby

      Maintainers: mr_bond openmaintainer
      Description: a package management framework for Ruby
      Long Description: RubyGems is the Ruby standard for publishing and managing third party libraries.

      checksums md5 b77a4234360735174d1692e6fc598402 sha1 89f8e35f03e1e8057cc8e237f2df025642653dde rmd160 c66444cc3f372f7170ba1d8ef3c456052acb2bde


      extract.suffix .tgz
      Platform: darwin

      use_configure no
      build { }

      destroot.cmd ${ruby.bin} setup.rb
      destroot.args --prefix=${prefix} --destdir=${destroot}
      destroot.env

      set gems_libdir ${destroot}${prefix}/lib/ruby/gems/${ruby.version}
      destroot.keepdirs ${gems_libdir}/doc ${gems_libdir}/gems ${gems_libdir}/specifications


      post-destroot {
      file mkdir ${destroot}${ruby.lib}
      file rename ${destroot}${prefix}/lib/rubygems ${destroot}${ruby.lib}
      file rename ${destroot}${prefix}/lib/rbconfig ${destroot}${ruby.lib}
      file rename ${destroot}${prefix}/lib/rubygems.rb ${destroot}${ruby.lib}
      file rename ${destroot}${prefix}/lib/ubygems.rb ${destroot}${ruby.lib}
      }

      depends_lib port:ruby


    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-rubygems
      % sudo port install rb-rubygems
      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-rubygems
      ---> Verifying checksum for rb-rubygems
      ---> Extracting rb-rubygems
      ---> Configuring rb-rubygems
      ---> Building rb-rubygems with target all
      ---> Staging rb-rubygems into destroot
      ---> Installing rb-rubygems
    - 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-rubygems with these commands:
      %  man rb-rubygems
      % apropos rb-rubygems
      % which rb-rubygems
      % locate rb-rubygems

     Where to find more information:

    Darwin Ports



    image test