Ziv Levy
Ziv Levy

Reputation: 2044

install Singularitygs on windows - compass sass conflicts

I've followed this quick walkthrough guide: http://vimeo.com/63509346 and had run the following commands:

  1. gem install compass
  2. gem install singularitygs

All went fine, no errors on the installation part.

Unfortunately, when running this command:

compass create foobar -r singularitygs --using singularitygs

I get this error:

Gem::LoadError on line ["2007"] of C: Unable to activate singularitygs-1.2.3, because sass-3.2.19 conflicts with sass (~
> 3.3.0)
Run with --trace to see the full backtrace

Now, as a matter of fact, I did have sass-3.3.10 installed, but after getting this error and reading the installation guide here: https://github.com/Team-Sass/Singularity/wiki/Installation I have uninstalled sass completely and re-run the command gem install compass so it will install sass-2.x.x as needed. But for some reason, I still cannot run the compass create... - I get the same error.

These are all the gems installed on my pc:

*** LOCAL GEMS ***

bigdecimal (1.2.0)
breakpoint (2.4.6)
chunky_png (1.3.1)
compass (0.12.7)
fssm (0.2.10)
io-console (0.4.2)
json (1.7.7)
minitest (4.3.2)
psych (2.0.0)
rake (0.9.6)
rdoc (4.0.0)
sass (3.2.19)
sassy-maps (0.4.0)
singularitygs (1.2.3)
test-unit (2.0.0.0)

Any help is appreciated, please let me know if any further data is needed.

Cheers,

Upvotes: 1

Views: 479

Answers (1)

filster
filster

Reputation: 21

Create your foobar project with bundler.

First install bundler:

    gem install bundler

Create a "GemFile" in your folder and put in it:

    gem "sass", "~>3.2.0"
    gem "compass", "~>0.12.0"
    gem "singularitygs", "~>1.1.2"

Afterwards run:

    bundle install
    bundle exec compass create {project name} -r singularitygs --using singularitygs

as suggested in https://github.com/Team-Sass/Singularity/wiki/Installation

Upvotes: 1

Related Questions