On Mon, Mar 23, 2009 at 2:51 PM, Eric Miller <[email protected]> wrote: > Guillaume Ballet wrote: > > On Mon, Mar 23, 2009 at 1:46 PM, Eric Miller <[email protected]> wrote: > > > Hi, > > I'm getting an error compiling shoes from git in Ubuntu 8.10. Is anyone else > seeing this problem? Looks more like a ruby problem from the trace. > > e...@lappy:~/Source/shoes$ rake VIDEO=1 --trace > (in /home/eric/Source/shoes) > rake aborted! > uninitialized constant YAML > /usr/lib/ruby/1.8/rake.rb:2237:in `const_missing' > /home/eric/Source/shoes/Rakefile:9 > /usr/lib/ruby/1.8/rake.rb:2149:in `load' > /usr/lib/ruby/1.8/rake.rb:2149:in `raw_load_rakefile' > /usr/lib/ruby/1.8/rake.rb:1897:in `load_rakefile' > /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' > /usr/lib/ruby/1.8/rake.rb:1896:in `load_rakefile' > /usr/lib/ruby/1.8/rake.rb:1880:in `run' > /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' > /usr/lib/ruby/1.8/rake.rb:1878:in `run' > /usr/bin/rake:28 > > > > > Looks like the YAML library is not properly installed. Try: > > apt-get install libyaml-ruby > > > > It did download so something must have been wrong. Tried to compile, same > error. Tried sudo apt-get install libruby* and lib*ruby, some additional > libs were installed. Tried to compile again, same error. > > Should I true removing ruby and reinstalling from scratch? > > Eric >
It's weird because afaik, YAML is part of any standard ruby distribution these days... Could you please type: ruby -e 'require "yaml" ' at the shell prompt and let me know if you get an error? If you don't get any, try adding 'require "yaml"' at the beginning of the Rakefile. Last time I tried, it was missing. Could be the problem :) Guillaume
