ruby - Installing Compass & Susy on Ubuntu 12.04 -


i'm trying install compass , susy on ubuntu 12.04.

what have tried following steps on console:

sudo apt-get install rubygems1.8 sudo gem install rubygems-update # instead of sudo gem update --system sudo update_rubygems sudo gem install compass # installing compass & sass sudo gem install susy 

so gems installed , listed when following command:

gem list 

but now, when try create new compass project with

compass create project 

i following error:

/usr/local/bin/compass: /usr/bin/ruby1.9.1: bad interpreter: no such file or directory 

my current ruby version 1.8.7. installed ruby 1.9.1 , working. console still says current ruby version 1.8.7

my question: have run both ruby versions working? there way under ubuntu? it's working, know, it's bit confusing.

using ubuntu's package manager multiple ruby versions bit of lost cause.

most people use rvm, allows install , switch between multiple rubies easily.

other popular options rbenv , chruby. it's question of personal preference, i'd rvm has slight edge beginners.

also, wouldn't recommend installing ruby 1.9.1 - it's best use 1.9.3 there compatibility issues other 1.9.x versions.

you can install compass , sass via ruby gems (rather aptitude):

$ gem install compass $ gem install sass 

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -