Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I had Compass (a ruby gem) installed on Oneiric with no problems I have updated to Precise formatting / and keeping /home, so I needed to reinstall ruby.

I get this error now when I compile a SCSS file:

compass watch --trace

Change detected at 12:45:09 to: style.scss overwrite css/style.css

Dear developers making use of FSSM in your projects, FSSM is essentially dead at this point. Further development will be taking place in the new shared guard/listen project. Please let us know if you need help transitioning! ^_^b - Travis Tilley

Compass is polling for changes. Press Ctrl-C to Stop. ArgumentError on line ["45"] of /usr/lib/ruby/1.9.1/pathname.rb: invalid byte sequence in US-ASCII /usr/lib/ruby/1.9.1/pathname.rb:45:in chop_basename' /usr/lib/ruby/1.9.1/pathname.rb:101:incleanpath_aggressive' /usr/lib/ruby/1.9.1/pathname.rb:89:in cleanpath' /usr/lib/ruby/1.9.1/pathname.rb:451:inrelative_path_from' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/path.rb:81:in split_path' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/path.rb:69:inrun_callback' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/path.rb:55:in callback_action' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/path.rb:35:inupdate' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/state/directory.rb:39:in block in modified' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/state/directory.rb:37:ineach' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/state/directory.rb:37:in modified' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/state/directory.rb:18:inrefresh' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/backends/polling.rb:17:in block (2 levels) in run' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/backends/polling.rb:17:ineach' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/backends/polling.rb:17:in block in run' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/backends/polling.rb:15:inloop' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/backends/polling.rb:15:in run' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/monitor.rb:26:inrun' /var/lib/gems/1.9.1/gems/fssm-0.2.9/lib/fssm.rb:70:in monitor' /var/lib/gems/1.9.1/gems/compass-0.12.1/lib/compass/commands/watch_project.rb:87:inperform' /var/lib/gems/1.9.1/gems/compass-0.12.1/lib/compass/commands/base.rb:18:in execute' /var/lib/gems/1.9.1/gems/compass-0.12.1/lib/compass/commands/project_base.rb:19:inexecute' /var/lib/gems/1.9.1/gems/compass-0.12.1/lib/compass/exec/sub_command_ui.rb:43:in perform!' /var/lib/gems/1.9.1/gems/compass-0.12.1/lib/compass/exec/sub_command_ui.rb:15:inrun!' /var/lib/gems/1.9.1/gems/compass-0.12.1/bin/compass:29:in block in <top (required)>' /var/lib/gems/1.9.1/gems/compass-0.12.1/bin/compass:43:incall' /var/lib/gems/1.9.1/gems/compass-0.12.1/bin/compass:43:in <top (required)>' /usr/local/bin/compass:19:inload' /usr/local/bin/compass:19:in `'

This error doesn't appear the first time I make a change to the scss file, but the second.

Any ideas?

In addition, compass "eats" one "s" in some files and, instead of compiling them as "style.css" (what it should be from the file's name) it does as "tyle.css".

EDIT: I am going to ask this on StackOverflow, since I think the problem is related to ruby itself and not Ubuntu.

share|improve this question

closed as too localized by Cmorales, Jorge Castro, fossfreedom May 16 '12 at 18:54

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer 1

up vote 0 down vote accepted

It seems it's a problem with some libraries in the repos. Installing ruby with RVM solved it.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.