Hi everybody,
After installing and configuring open atrium 2 succesfully I decided to make a subtheme for it using the radix starter kit and guidelines of this page: https://www.drupal.org/node/1896382
However after doing compass clean && compass watch I got this error:
error assets/sass/screen.scss (Line 17 of extensions/compass_radix/stylesheets/_compass_radix.scss: File to import not found or unreadable: bootstrap.
I tried the suggestions I found here: https://www.drupal.org/node/2204349
Didnt have bootstrap-sass so installed that too. Then copied the bootstrap folder from there into my compass-radix-2.0/stylesheets folder. But that didnt change anything.
What am I missing here?
Comments
Comment #1
akkovanettinger CreditAttribution: akkovanettinger commentedComment #2
mpotter CreditAttribution: mpotter commentedMake sure you got the 2.x version of bootstrap and compass_radix:
sudo gem install compass_radix -v 2
Also, I should mention that within a couple of weeks I'll be pushing a new version of oa_radix that directly supports the kits and subtheme commands in drush.
Comment #3
akkovanettinger CreditAttribution: akkovanettinger commentedThank you mpotterfor replying.
So I start over. First deinstall all the gems and compass.
Then I will do sudo gem update; sudo gem install compass_radix -v 2
However when I then go to my theme folder and do compass clean && compass watch it still gives me this error:
error assets/sass/screen.scss (Line 17 of extensions/compass_radix/stylesheets/_compass_radix.scss: File to import not found or unreadable: bootstrap.
Comment #4
SuleymanK CreditAttribution: SuleymanK commentedSame issue here. Removed all gems, just executed sudo gem install compass_radix -v 2, let it download all dependecies and same issue.
Comment #5
mpotter CreditAttribution: mpotter commentedWell, the error tells me that you still don't have bootstrap. You might contact the author of the Radix base theme. It's been a long time since I set up compass and bootstrap on this system, but it seems like I just followed the Radix instructions. Maybe compass_radix no longer downloads the compass_bootstrap gem?
Unfortunately, I have no control over those gems...they come from the Radix author.
Comment #6
akkovanettinger CreditAttribution: akkovanettinger commentedChanged the project to Radix. Thank you mpotter.
Comment #7
shadcn CreditAttribution: shadcn commentedHmm it seems that this is a version conflict. OpenAtrium uses Radix 2.x. For this you need the compass_radix 2.x which requires compass_bootstrap and not bootstrap (this is compass_radix 3.x). What you need to do is uninstall the current version and install compass_radix 2.x. Steps:
Comment #8
akkovanettinger CreditAttribution: akkovanettinger commentedHi arshad,
I did as you said. Still no joy though.
Here is my isntalled gems list:
*** LOCAL GEMS ***
addressable (2.3.6)
bigdecimal (1.2.5, 1.2.4)
bundler (1.6.3, 1.6.2)
bundler-unload (1.0.2)
chunky_png (1.3.1)
compass (0.12.6)
compass_radix (2.0.0)
compass_twitter_bootstrap (2.3.1)
css_parser (1.3.5)
executable-hooks (1.3.2)
fssm (0.2.10)
gem-wrappers (1.2.5, 1.2.4)
io-console (0.4.2)
json (1.8.1)
minitest (5.3.5, 4.7.5)
psych (2.0.5)
rake (10.3.2, 10.1.0)
rdoc (4.1.1, 4.1.0)
rubygems-bundler (1.4.4)
rubygems-update (2.3.0)
rvm (1.11.3.9)
sass (3.3.9, 3.2.19)
test-unit (2.5.5, 2.1.2.0)
Now I have a different error though:
compass clean && compass watch
error sass/screen.scss (Line 19: File to import not found or unreadable: compass_radix.
Comment #9
shadcn CreditAttribution: shadcn commentedOk. Let's try something else. Can you download https://github.com/arshad/compass_radix/archive/0.0.24.zip and put in under sites/all/YOURTHEME/extensions/ such that compass_radix is at sites/all/YOURTHEME/extensions/compass_radix and then run
compass clean && compass watch
?Comment #10
akkovanettinger CreditAttribution: akkovanettinger commentedThank you Arshad. This seems to be working. Also I noted I needed to be in the root folder of MYTHEME and not in assets or sass folder to run the compass commands.
Comment #11
akkovanettinger CreditAttribution: akkovanettinger commentedComment #12
shadcn CreditAttribution: shadcn commentedCool. (Yep, you have to run the command where config.rb is).
Comment #14
gebeer CreditAttribution: gebeer commentedI manually built a subtheme from oa_radix version 7.x-2.21 following instructions from the Radix Subtheming Guide Option B.
bundle
pulls in the wrong compass_radix version 3.1.3.I had to manually uninstall it and install v 2.0.1 like outlined in comment #7.
Should I file a new issue for this?
Comment #15
shadcn CreditAttribution: shadcn commentedWhich version for compass is in your Gemfile?