SitePoint Sponsor

User Tag List

Results 1 to 12 of 12
  1. #1
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    796
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    gem install sass not working.

    howdy.
    installed the latest version of ruby.
    the command prompt
    Code:
    ruby -v
    gives me
    Code:
    ruby 2.0.0p247 <2013-06-27> [i386-mingw32]
    I then go & type
    Code:
    gem install sass
    and nothing happens. I type sass and it is not recognized as an external or internal command etc...
    What am I doing wrong please?

    thx
    d

  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    6,051
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    Hi,

    That's weird.

    Sass is compatible with Ruby 2 as of version 3.1.18, so that shouldn't be an issue.

    I just tried installing it on my Win 8 box which is running 1.9.3:

    Code:
    C:\Users\Pullo>ruby -v
    ruby 1.9.3p429 (2013-05-15) [i386-mingw32]
    
    C:\Users\Pullo>gem install sass
    Fetching: sass-3.2.10.gem (100%)
    Successfully installed sass-3.2.10
    Installing ri documentation for sass-3.2.10
    1 gem installed
    What is the exact error message you are getting when you try to install the gem?

  3. #3
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    796
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    possible firewall prob?
    "could not find a valid gem 'sass' <>=0>, here is why: unable to download data from https://rubygems.org/-errono:etimedout...etc...

  4. #4
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    6,051
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    You're not running Norton Internet Security (or similar) are you?
    http://stackoverflow.com/questions/1...m-on-windows-8

    Also, it would be helpful to know what came after the "etc", as that was the interesting bit of the error message.

  5. #5
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    796
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    rats...
    a connection attempt failed because the connected party did not properly resond after a period of time, or established connection failed because connected host has failed to respond - connect <2> <https://rubygems.org/latest_specs.4.3.gz>

  6. #6
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    6,051
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    My guess would be that it is a network issue and that your computer is behind a proxy/firewall that is blocking downloads from rubygems.org.
    Do you have any security software installed?
    Do you have a rule for the ruby interpreter in the Windows firewall?
    Are you using a proxy?

  7. #7
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    796
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hi Pullo, this is actually my work laptop. So i am betting on a solid firewall, and securities...so might just go to IT dept & ask them to help out.
    will try it later on my home laptop. as it is i think there were no probs w/less. as they seem to be the same give or take I 'll just start picking up less instead.
    thx
    D

  8. #8
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    6,051
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    No probs

    My money would be on some kind of firewall, too.

    If the IT dept. won't comply, maybe Less is a better bet for you, as it is written in JS and can be run on the client-side (where JS is present by default).

  9. #9
    SitePoint Enthusiast
    Join Date
    Jul 2011
    Location
    Hull, UK
    Posts
    78
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Had the same problem, I went to rubygems.org, downloaded that. CD into the unzipped folder and in the command line ran 'rub setup.rb'.

    Then reran the Sass installer and it worked fine.

    Hope this helps.

  10. #10
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    796
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Wow...that was a long time back. Thanks JonnoW but actually i gave up on sass for now. figure i'd focus on css3/html5 & js instead.
    Take care
    D

  11. #11
    SitePoint Addict bronze trophy mawburn's Avatar
    Join Date
    Apr 2014
    Posts
    277
    Mentioned
    8 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by pdxSherpa View Post
    Wow...that was a long time back. Thanks JonnoW but actually i gave up on sass for now. figure i'd focus on css3/html5 & js instead.
    Take care
    D
    You should give it another shot. SASS/SCSS is pretty great. But of course, it's just a CSS processor so you should have a fairly strong understanding of CSS before using it.

    But, I had to do the same thing @JonnoW mentioned and it worked well.

  12. #12
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    796
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Hello Mawburn. Actually i might have to go back and get acquainted w/less first. it seems one of the vendors we work w/ is using it. So more experience and a better understanding of that would be good.
    So far our lead css/web person is not too happy they are doing that. Adding extra files & all
    D


Bookmarks

Posting Permissions

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