squib: can't install squib

I’m going around in circles trying to install squib. Here is a gist of my installation attempt: https://gist.github.com/lgrains/6d964fb775cc2694fe9e.

When I try to install librsvg I get these errors: https://gist.github.com/lgrains/e6c660bed68dfe1862a2

I have run brew update successfully. Any suggestions?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

This is related to a regression in rubygems in ruby 2.2.0. https://github.com/rubygems/rubygems/issues/784

Just upgrade your rubygems via gem update --system, and it should start working without all the extra requires.

I was experiencing an out of memory error on use_cairo, so I bumped my Ruby version up to 2.2.2 based on a post about halfway down here: https://boardgamegeek.com/thread/1293453/introducing-squib-ruby-gem-prototyping-games-v060/page/2

Next, I got an error about Cairo::Color, which I resolved by putting

require "cairo"
require "pango"
require "nokogiri"
require "squib"

at the top of my deck.rb file. I can now run the examples and can create my own deck too!