haven't checked if this is a false positive, but just did two upgrades and get

just did a quick check on logs and looks ok

Barracuda [Tue Nov 26 18:00:55 EST 2013] ==> INFO: Running Compass Tools upgrade, please wait..

gem install toolkit failed.  Error (if any): 0
 
Displaying the last 15 lines of /var/backups/barracuda-upgrade-131126-1521.log to help troubleshoot this problem
If you see any error with advice to run 'dpkg --configure -a', run this
command first and choose default answer, then run this installer again
 
Installing ri documentation for compass_radix-0.0.25...
Installing RDoc documentation for compass_twitter_bootstrap-2.3.1...
Installing RDoc documentation for compass_radix-0.0.25...
Successfully installed zurb-foundation-4.3.2
1 gem installed
Installing ri documentation for zurb-foundation-4.3.2...
Installing RDoc documentation for zurb-foundation-4.3.2...
Successfully installed zen-grids-1.4
1 gem installed
Installing ri documentation for zen-grids-1.4...
Installing RDoc documentation for zen-grids-1.4...
Successfully installed compass-normalize-1.4.3
1 gem installed
Installing ri documentation for compass-normalize-1.4.3...
Installing RDoc documentation for compass-normalize-1.4.3...
Barracuda [Tue Nov 26 18:03:52 EST 2013] ==> INFO: Compass Tools upgrade completed

Comments

Anonymous’s picture

I have the same issue on two fresh installs. Seems to work for me (have'nt explored all features).
Run the following command "gem query"
Should see this output:

*** LOCAL GEMS ***

bundler (1.3.5)
chunky_png (1.2.9)
compass (0.12.2)
compass-normalize (1.4.3)
compass-rgbapng (0.2.1)
compass_radix (0.0.25)
compass_twitter_bootstrap (2.3.1)
fssm (0.2.10)
sass (3.2.12)
sass-globbing (1.1.0)
susy (1.0.9)
zen-grids (1.4)
zurb-foundation (4.3.2)

Peace,
Michael Clendening

mrP’s picture

Title: gem install toolkit failed » [ruby 1.9] gem install toolkit failed
Status: Closed (won't fix) » Needs review
StatusFileSize
new2.53 KB
new1.68 KB
new209 bytes

Confirmed and can be easily duped. This is a ruby version issue as a dependent gem (celluloid see Celluloid Supported Platforms). Current default installs only include ruby 1.8.

# gem install toolkit
ERROR:  While executing gem ... (Gem::DependencyError)
    Unable to resolve dependencies: sass requires listen (~> 1.1.0); breakpoint requires compass (~> 1.0.0.alpha.13)
root@wheezy:~# gem install listen
Fetching: timers-1.1.0.gem (100%)
Fetching: celluloid-0.15.2.gem (100%)
ERROR:  Error installing listen:
        celluloid requires Ruby version >= 1.9.2.

ruby1.9.1-dev libruby1.9.1 ruby1.9.1 will get you your necessary ruby environment. @omega8 -- my thinking is to add ruby 1.9 to a default install, but i'll defer to your preference.

Logs attached for a fresh Debian Wheezy BOA-2.1.3 install.

omega8cc’s picture

Version: 6.x-2.0-rc13 » 6.x-2.x-dev
Category: Bug report » Feature request
Status: Needs review » Needs work

Thanks for the patch, however, this test:

_RUBY_VERSION = `ruby -e 'print RUBY_VERSION'`

will never work properly on Squeeze, because ruby is not symlinked there to either ruby1.8 or ruby1.9.1.

Also the lshell config would need a PATH fix.

omega8cc’s picture

Title: [ruby 1.9] gem install toolkit failed » Install ruby 1.9 by default for better compatibility with gems which may depend on it

In fact. it is not really a bug, so changing the title.

niccolox’s picture

am on Precise, should of mentioned that..

mrP’s picture

StatusFileSize
new2.42 KB

good point, ! -e "/usr/lib/ruby/1.9.1/rubygems.rb" should be a better check.

the failed installation of the toolkit gem prevents the further install/update of susy, compass-rgbapng, sass-globbing, and bundler which seems quite buggy.

omega8cc’s picture

Thanks! One more correction, though:

+ if [ ! -e "/usr/local/bin/compass" ] && [ -x "/var/lib/gems/1.9.1/bin/compass" ] ; then

These symlinks will never get updated if they already exist.

mrP’s picture

StatusFileSize
new2.96 KB

another good catch, thanks!

i also spotted another squeeze specific issue for gem1.8 -> gem1.9.1

mrP’s picture

StatusFileSize
new2.96 KB

with corrected variable squeeze check

mrP’s picture

StatusFileSize
new2.96 KB

another revision with better checking for fix_compass_path

omega8cc’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.