Compass installation

293 views
Skip to first unread message

Jareware

unread,
Mar 11, 2011, 10:16:05 AM3/11/11
to Compass
Hi list,

I'm trying to install Compass on Ubuntu 10.10 Server, but I'm having
trouble getting the latest version:

$ sudo gem -v

1.3.7

$ sudo gem list

*** LOCAL GEMS ***

compass (0.10.6)
haml (3.0.25)

$ compass -v

Compass 0.8.17
Copyright (c) 2008-2009 Chris Eppstein
Released under the MIT License.

How come the version mismatch? Also running the commands give all
kinds of errors. Am I missing something..?

Chris Eppstein

unread,
Mar 11, 2011, 10:28:33 AM3/11/11
to compas...@googlegroups.com, Compass
It must be installed in two places with the older version coming first on your PATH. The following commands might give you a hint about where:

which compass
gem which compass

Hunt & pecked on my iPhone... Sorry if it's brief!

> --
> You received this message because you are subscribed to the Google Groups "Compass" group.
> To post to this group, send email to compas...@googlegroups.com.
> To unsubscribe from this group, send email to compass-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/compass-users?hl=en.
>

Jareware

unread,
Mar 11, 2011, 10:33:01 AM3/11/11
to Compass
Thanks for the quick response!

I actually already installed from github source instead, as I'm a bit
time-pressed. But I'll report back should I run into the issue again!

Cheers,

- Jarno

On Mar 11, 5:28 pm, Chris Eppstein <ch...@eppsteins.net> wrote:
> It must be installed in two places with the older version coming first on your PATH. The following commands might give you a hint about where:
>
> which compass
> gem which compass
>
> Hunt & pecked on my iPhone... Sorry if it's brief!
>

Jareware

unread,
Apr 4, 2011, 7:45:50 AM4/4/11
to Compass
I just did the install on a new box, and in case someone finds this
post while looking for installation instructions for Ubuntu Maverick,
you need to:

$ sudo apt-get install ruby1.9.1

And then use the gem1.9.1 binary to install compass:

$ sudo gem1.9.1 install compass

It's important to note that in case you already have the default 1.8.x
gem binary installed and unintentionally call that one, you'll end up
with the older compass. The gem installer didn't add compass to my
PATH though, so I explicitly added it:

$ ln -s /var/lib/gems/1.9.1/bin/compass ~/bin/compass

HTH,

- Jarno

Ramon Tayag

unread,
Apr 4, 2011, 9:42:59 AM4/4/11
to compas...@googlegroups.com
Having different rubies and gems is best under RVM :)

Ramon Tayag

Mario "Kuroir" Ricalde

unread,
Apr 4, 2011, 12:08:20 PM4/4/11
to compas...@googlegroups.com
Ruby has many Inception rules. RVM is another good example of multilevel dreaming (?)

-- 
Mario "Kuroir" Ricalde

Andrés gutiérrez

unread,
Apr 4, 2011, 11:19:49 AM4/4/11
to compas...@googlegroups.com


2011/4/4 Mario "Kuroir" Ricalde <kur...@gmail.com>

Ruby has many Inception rules. RVM is another good example of multilevel dreaming (?)
RVM isn't a dream is real ;) For example you can have:
  1. Ruby 1.8.7 with rails 2.3.8 and compas 0.10
  2. Ruby 1.9.2 with rails 3.0.3 and compass 0.11.pre
    -- 
Reply all
Reply to author
Forward
0 new messages