Results 1 to 3 of 3

Thread: Installing Ruby - problems encountered and some solutions

  1. #1

    Default Installing Ruby - problems encountered and some solutions

    After using openSUSE and SUSE before for many years and almost never posting anything I find myself wishing to share experiences. This time installing ruby
    I develop websites using Drupal and use the ruby gem compass family. So on a new installation I selected ruby to be installed during the installation thinking to save time.
    Then installed compass and when I tried typing compass clean I go the command not found response. Tried adding the compass path to the path command and still nothing.
    So I decided to uninstall and re-install and this is how i did it.

    Uninstall all gems
    Code:
    gem list | cut -d"   " -fl | xargs gem uninstall
    Uninstall ruby
    Code:
    zypper rm ruby
    Re-install
    Download the source file from download.ruby-lang.org
    I followed the helpful instructions on lizards.opensuse.org/2010/06/installing-ruby-1-9-on-opensuse-11-2
    Then when everything was safely installed

    Re-install compass
    Using the following commands
    Code:
    gem update --system
    gem install compass
    Testing
    Going to the previous project typed in compass clean and eveything worked as before!
    Relief

  2. #2

    Default Re: Installing Ruby - problems encountered and some solutions

    Well, I guess installing compass via the openSUSE rpm would have worked as well, without having to install ruby from source:
    software.opensuse.org: Install package devel:languages:ruby:extensions / rubygem-compass

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,610
    Blog Entries
    1

    Default Re: Installing Ruby - problems encountered and some solutions

    Wonder what the upgrade problem might have been.

    FWIW - I also recently installed(new, not upgrade) compass from rubygems without a problem.
    BTW - "bundle" must be installed from the openSUSE repo, I describe it here
    User:Tsu2/Kibana - openSUSE

    TSU

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •