Aurora icon indicating copy to clipboard operation
Aurora copied to clipboard

Can't create sub theme with gem, errors after running command

Open humanaut opened this issue 10 years ago • 3 comments

I was trying to create a sub theme but received this error after running the create theme command. I am unfamiliar with it.

compass create testtheme -r aurora --using aurora
Gem::LoadError on line ["1638"] of /Users/mymac/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb: Unable to activate compass-aurora-3.0.9, because compass-1.0.0.alpha.19 conflicts with compass (~> 0.12.2), sass-3.3.5 conflicts with sass (~> 3.2.14), compass-normalize-1.5 conflicts with compass-normalize (~> 1.4.3)

Here is my gem list

*** LOCAL GEMS ***

addressable (2.3.6, 2.3.5, 2.3.4)
bigdecimal (1.2.5, 1.2.3, 1.2.1, 1.1.0)
blend-mode (0.0.1)
breakpoint (2.4.2, 2.4.0, 2.3.0, 2.0.7, 2.0.6, 2.0.5, 1.3)
bundler (1.6.2, 1.6.1, 1.6.0, 1.5.3, 1.3.5)
bundler-unload (1.0.2, 1.0.1)
celluloid (0.15.2)
celluloid-io (0.15.0)
chunky_png (1.3.0, 1.2.9, 1.2.8)
coderay (1.1.0, 1.0.9)
color-schemer (0.2.8, 0.2.7, 0.2.5, 0.2.3)
compass (1.0.0.alpha.19, 1.0.0.alpha.13, 0.12.5, 0.12.4, 0.12.3, 0.12.2)
compass-aurora (3.0.9, 3.0.8, 3.0.6, 3.0.3, 1.1.1)
compass-blend-modes (0.0.2)
compass-borderbox (0.1.2.0)
compass-core (1.0.0.alpha.19, 1.0.0.alpha.16, 1.0.0.alpha.13)
compass-import-once (1.0.4, 1.0.3, 1.0.1)
compass-normalize (1.5, 1.4.3)
compass-rgbapng (0.2.1)
compass-validator (3.0.1)
compass_formalize (0.0.5, 0.0.4)
css_parser (1.3.5, 1.3.4)
em-websocket (0.5.0)
eventmachine (1.0.3)
execjs (2.0.2)
executable-hooks (1.3.1, 1.2.6, 1.2.5, 1.2.3)
ffi (1.9.3, 1.9.0, 1.8.1)
formatador (0.2.4)
fssm (0.2.10)
guard (2.6.0, 2.5.1, 2.2.5, 2.2.4, 2.2.2, 2.2.1, 2.1.1, 2.0.3, 1.8.3, 1.8.2, 1.8.1, 1.8.0)
guard-bundler (2.0.0, 1.0.0, 0.1.3)
guard-compass (1.1.0, 1.0.0, 0.0.8)
guard-concat (0.0.3)
guard-livereload (2.1.2, 2.1.1, 2.1.0, 2.0.0, 1.4.0)
guard-sass (1.4.0, 1.3.2, 1.1.0, 1.0.6)
guard-shell (0.6.1, 0.5.2, 0.5.1)
guard-uglify (0.1.0)
hitimes (1.2.1)
http_parser.rb (0.6.0, 0.5.3)
io-console (0.4.2, 0.3)
json (1.8.1, 1.8.0, 1.7.7, 1.5.5)
listen (2.7.1, 2.4.0, 2.3.1, 2.1.1, 2.0.0, 1.3.1, 1.3.0, 1.2.2, 1.1.6, 1.0.3, 0.7.3)
lumberjack (1.0.5, 1.0.4, 1.0.3)
lunchy (0.7.0, 0.6.0)
method_source (0.8.2, 0.8.1)
minitest (5.3.3, 5.3.2, 5.3.1, 5.2.0, 5.0.8, 5.0.7, 5.0.6, 5.0.5, 4.7.4, 2.5.1)
modular-scale (2.0.5, 2.0.4, 1.0.6)
multi_json (1.9.2, 1.9.0, 1.8.2, 1.8.1, 1.8.0, 1.7.9, 1.7.7, 1.7.3, 1.7.2)
nio4r (1.0.0)
pry (0.9.12.6, 0.9.12.4, 0.9.12.2, 0.9.12.1)
rake (10.3.0, 10.2.2, 10.2.1, 10.1.1, 10.1.0, 10.0.4, 0.9.2.2)
rb-fsevent (0.9.4, 0.9.3)
rb-inotify (0.9.3, 0.9.2, 0.9.1, 0.9.0)
rb-kqueue (0.2.2, 0.2.0)
rdoc (4.1.1, 4.0.1, 3.9.5)
respond-to (2.6)
rubygems-bundler (1.4.3, 1.4.2, 1.4.1, 1.4.0, 1.3.4, 1.3.3, 1.2.2, 1.2.0, 1.1.1)
rvm (1.11.3.9, 1.11.3.8, 1.11.3.7)
sass (3.3.5, 3.3.4, 3.3.3, 3.3.0, 3.3.0.rc.2, 3.2.19, 3.2.18, 3.2.14, 3.2.13, 3.2.12, 3.2.11, 3.2.10, 3.2.9, 3.2.8, 3.2.7)
sassy-buttons (0.2.6, 0.2, 0.1.4)
sassy-maps (0.3.2, 0.3.1)
sassy-math (1.5)
sassy-strings (1.0.0, 0.3.1)
singularitygs (1.2.0, 1.1.2, 1.1.1, 1.0.8, 0.0.17)
slop (3.5.0, 3.4.7, 3.4.6, 3.4.5, 3.4.4)
susy (2.1.1, 1.0.9, 1.0.8)
thor (0.19.1, 0.18.1)
timers (2.0.0, 1.1.0)
toolkit (2.3.0, 2.1.0, 2.0.1, 1.3.8, 1.3.7, 1.3.5, 1.2.2, 1.2.1, 1.0.0, 0.2.6)
uglifier (2.5.0, 2.4.0, 2.3.2, 2.2.1)

Has anyone seen anything like this before?

Thank you.

humanaut avatar Apr 17 '14 20:04 humanaut

I have a similar issue with susy and sass

Gem::LoadError on line ["2064"] of /Library/Ruby/Site/2.0.0/rubygems/specification.rb: Unable to activate susy-2.1.2, because sass-3.2.18 conflicts with sass (~> 3.3.0)

michaelrachlitz avatar May 07 '14 05:05 michaelrachlitz

I am experiencing something similar with toolkit and sass: Gem::LoadError on line 1625 of /usr/lib/ruby/vendor_ruby/1.8/rubygems/specification.rb: Unable to activate toolkit-2.3.0, because sass-3.2.19 conflicts with sass (~> 3.3.0)

/update/ Seems that the solution is: http://bundler.io/ "Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed. "

spideep avatar May 15 '14 21:05 spideep

Hi @spideep — how did you fix it with Bundler? Any chance you can paste your example Gemfile? The problem I'm running into is that Compass 0.12.6 is requiring SASS 3.2.19 while Breakpoint is requiring SASS 3.3.

I'm trying to install Compass 1.0.0.alpha.19 but it won't install. Here's my gem file:

A sample Gemfile

source "https://rubygems.org"

gem "rails"

gem 'sass' gem 'compass', '~>1.0.0.alpha.19' gem 'breakpoint'

And here's the error:

Building native extensions. This could take a while... ERROR: Error installing compass: ERROR: Failed to build gem native extension.

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb

creating Makefile

make "DESTDIR=" clean

make "DESTDIR=" compiling generator.c linking shared-object json/ext/generator.bundle clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future] clang: note: this will be a hard error (cannot be downgraded to a warning) in the future make: *** [generator.bundle] Error 1

make failed, exit code 2

Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/json-1.8.1 for inspection. Results logged to /Library/Ruby/Gems/2.0.0/extensions/universal-darwin-13/2.0.0/json-1.8.1/gem_make.out

feesh avatar Jun 19 '14 18:06 feesh