The 'compass version' command is broken

Bug #1100018 reported by Māris Fogels
78
This bug affects 16 people
Affects Status Importance Assigned to Milestone
ruby-compass (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The 'compass version' command and 'compass -v' option are broken in the packaged version of compass on Precise, 0.11.6~dfsg-1.

Here is the full traceback:

 $ compass -v --trace
Errno::ENOENT on line 25 of /usr/lib/ruby/vendor_ruby/sass/../compass/version.rb: No such file or directory - /usr/lib/ruby/vendor_ruby/sass/../compass/../../VERSION.yml
  /usr/lib/ruby/vendor_ruby/sass/../compass/version.rb:25:in `read_version'
  /usr/lib/ruby/vendor_ruby/sass/../compass/version.rb:13:in `version'
  /usr/lib/ruby/vendor_ruby/sass/../compass/commands/print_version.rb:59:in `long_output_string'
  /usr/lib/ruby/vendor_ruby/sass/../compass/commands/print_version.rb:94:in `execute'
  /usr/lib/ruby/vendor_ruby/sass/../compass/commands/default.rb:46:in `execute'
  /usr/lib/ruby/vendor_ruby/sass/../compass/exec/sub_command_ui.rb:43:in `perform!'
  /usr/lib/ruby/vendor_ruby/sass/../compass/exec/sub_command_ui.rb:15:in `run!'
  /usr/bin/compass:25
  /usr/bin/compass:39:in `call'
  /usr/bin/compass:39

The VERSION.yml file is present in the original compass sources but is missing from the package. The 'compass version' command needs the file to function.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ruby-compass (Ubuntu):
status: New → Confirmed
Revision history for this message
Hallvard Nygård (hnygard) wrote :

I'm getting the same error both on my Xubuntu 13.04 desktop (ruby-compass 0.12.2~dfsg-4) and the Ubuntu 12.04.2 LTS server (ruby-compass version 0.11.6~dfsg-1).

Revision history for this message
Jonas Björk (jonasbjork) wrote :

Same for me on Ubuntu 12.04 LTS

ruby-compass version 0.11.6~dfsg-1
ruby-sass version 3.1.15-1
ruby1.8 version 1.8.7.352-2ubuntu1.3

# compass -v --trace
Errno::ENOENT on line 25 of /usr/lib/ruby/vendor_ruby/sass/../compass/version.rb: No such file or directory - /usr/lib/ruby/vendor_ruby/sass/../compass/../../VERSION.yml
  /usr/lib/ruby/vendor_ruby/sass/../compass/version.rb:25:in `read_version'
  /usr/lib/ruby/vendor_ruby/sass/../compass/version.rb:13:in `version'
  /usr/lib/ruby/vendor_ruby/sass/../compass/commands/print_version.rb:59:in `long_output_string'
  /usr/lib/ruby/vendor_ruby/sass/../compass/commands/print_version.rb:94:in `execute'
  /usr/lib/ruby/vendor_ruby/sass/../compass/commands/default.rb:46:in `execute'
  /usr/lib/ruby/vendor_ruby/sass/../compass/exec/sub_command_ui.rb:43:in `perform!'
  /usr/lib/ruby/vendor_ruby/sass/../compass/exec/sub_command_ui.rb:15:in `run!'
  /usr/bin/compass:25
  /usr/bin/compass:39:in `call'
  /usr/bin/compass:39

Tried to upgrade ruby to 1.9.1 with "apt-get install ruby1.9.1-full" and did "update-alternatives --config ruby" where I set ruby to default to 1.9.1. Same thing there.

Revision history for this message
Emin Mastizada (emin25) wrote :

Today I installed Ubuntu to one of our workers and setted the environment for work, and grunt compass gave this error.
`sudo gem install compass` solved problem.

Revision history for this message
Benoit (benoit-montuelle) wrote :

Same for me on Ubuntu 14.04, with version 0.12.2~dfsg-4

Revision history for this message
Sumit Ray (sumit-ray-y) wrote :

run "sudo gems isntall compass " and you will be done.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.