SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    634
    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
    5,313
    Mentioned
    178 Post(s)
    Tagged
    9 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
    634
    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
    5,313
    Mentioned
    178 Post(s)
    Tagged
    9 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
    634
    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
    5,313
    Mentioned
    178 Post(s)
    Tagged
    9 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
    634
    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
    5,313
    Mentioned
    178 Post(s)
    Tagged
    9 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).


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
  •