PeterHamilton/citier — Issue #43: How to use the latest Citier code?
Author: ianpetzer
Created: 2011-12-22 17:09:04+00:00
State: open

Hi all,

I'd like to get access to the latest Citier code as I need some of the fixes that have already been committed. I'm using Bundler and when I include Citier in my Gemfile I get version 0.1.12 from rubygems (http://rubygems.org/gems/citier) but thats from April 2011.

So I forked citier on GitHub, then ran:
1) gem build citier.gemspec
2) gem install ./citier-0.1.13.gem

I then put a direct dependency on my locally built gem by adding the following the dependency to the Gemfile in my project:
gem 'citier', '0.1.13', :path => '../citier/'

After blowing away my old SQLLite3 dev database, I was able to create another using:
bundle exec rake db:create

But when I try and run db:migrate, I get the following error as soon as it runs a migration including a citier subtype.

undefined method `create_view' for #

My code works fine if I pull in the 0.1.12 citier gem rom RubyGems, but I need the latest code as I'm running into the same problem described in issue 29 except against SQL server db. (https://github.com/PeterHamilton/citier/issues/29)

So, could someone please explain the easiest way to run against the latest code?