Well, that was an interesting Saturday afternoon. As usual, I upgraded some small stuff, did a little programming on a private project, and then decided to check the versions ...
(The project is using Rails 3.0, Datamapper, Devise and some more things)
And whoo! Datamapper has been upgraded!
So, first things first, I went into my Gemfile and updated the version. Typing bundle install would then give me ...
Errors. Yay.
First, incompatibility in gems. I had to update dm-devise too - and dm-rails (obviously), which lead to upgrading rails to 3.0.5 ...
As soon as I had fixed that, I got more weird errors:
"invalid value for @cert_chain"
Argh! Well, some googling and browsing stackoverflow lead me to the following conclusions:
- I need to upgrade rubygems
- Following that, I need to downgrade rubygems again, or
- I need to upgrade my ruby version.
Going for the full monty, I virtually stripped down my system, dropping gemsets left and right, reinstalling ruby(1.9.2-head) via rvm and then upgrating rubygems (via gem update --system, which seems to work again).
After dropping the vendor/ruby directory, I reinstalled the bundle (bundle install --path vendor/ --rubygems, and everything works again!
... well, almost, now I have to remove the deprecated stuff that Devise introduced ...
... the interesting saturday continues.
