1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    28
    Vote Rating
    0
    willi is on a distinguished road

      0  

    Default sass, compass, ruby getting started problems

    sass, compass, ruby getting started problems


    Hi,

    sorry, I know it is a little of topic but I'm sure you guys can help me as it seems to be the way to style ST apps in the future. I tried to learn about SASS, Compass and Ruby today but I failed with installing it. This is what I tried:

    I installed the ruby installer for windows, that wasn't a problem. But after that everywhere I read (here, ruby, sass and compass websites) they tell you just to 'start your terminal' and enter 'gem install haml'. But what is ment with 'your terminal' here? I started the 'command prompt with ruby' and entered 'gem install haml'. But of course this led to errors. Even though I changed the directory to the places where I extracted the 'gems'.

    I know this is very newbie-staff but I searched the regarding websites for hours and there is no 'step-by-step' instruction for beginners like me. So, please, can anybody tell what do I have to do exactly?

    Any help is extremely appreciated!

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,198
    Vote Rating
    120
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    Quote Originally Posted by willi View Post
    just to 'start your terminal' and enter 'gem install haml'. But what is ment with 'your terminal' here? I started the 'command prompt with ruby' and entered 'gem install haml'.
    The tutorial you found looks like it assumed a unix environment. In windows your 'terminal' would be your command prompt. If gem doesn't work as a command you will need to make sure that this path is in your environment variables
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Ext User
    Join Date
    Aug 2010
    Posts
    12
    Vote Rating
    0
    goozzik is on a distinguished road

      0  

    Default


    You will need gem command to install haml. If you dont have rubygems here is tutorial http://allaboutruby.wordpress.com/20...step-tutorial/ .
    terminal is the 'cmd' from 'run'.

    PS. I recommend you to get ubuntu or other linux distro/mac os x for ruby on rails.

  4. #4
    Sencha User
    Join Date
    Sep 2010
    Posts
    28
    Vote Rating
    0
    willi is on a distinguished road

      0  

    Default


    Thanks for your replies but I still don't get it to work. I'm working with windows xp and installed Ruby 1.9.2. When I type 'gem -v' in the cmd it says '1.3.7', so gem is installed too. Then I downloaded SASS from GitHub and unzipped it which results in a directory named 'nex3-haml-584a1f4'. The content of this directory I copied to 'c:\temp'. Back to the cmd I type 'gem install haml' or 'gem install c:\temp\haml' (also tried it with '/' instead '\') and always get the error 'No such file or directory'.

    @aconran: What do you mean with '... this path is in your environment variables'? Which path? How can I check that? How do I put that path to my environment varibales? I'm not used to the cmd and simply don't know what to type in there exactly, sorry.

    What am I doing wrong? Please help me.

Similar Threads

  1. How can I compile css using sass?
    By meshulro in forum Sencha Touch 1.x: Discussion
    Replies: 8
    Last Post: 29 Sep 2010, 2:28 PM
  2. Is SASS the direction for CSS in Ext JS 4.0?
    By stever in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 26 May 2010, 7:30 AM
  3. Ruby VS Javascript for web3.0
    By xmatt1 in forum Community Discussion
    Replies: 7
    Last Post: 5 Nov 2007, 3:13 AM
  4. Json with Ruby on Rails
    By sfwalter in forum Ext 2.x: Help & Discussion
    Replies: 7
    Last Post: 16 Sep 2007, 7:57 PM
  5. Passing parameters from Ruby to JS.
    By akalache in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 18 Jul 2007, 5:03 AM

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi