Tuesday, August 31, 2010

Can not install Devise gem with Ruby 1.9.2 on windows

I was having a try out of devise gem with one of my Rails 3 pet project just yesterday. I installed Ruby 1.9.2 with the one-click installer from rubyinstaller.org and the latest Rails 3.0. But I faced installation problem as usual on windows. The problem was that it was not being able to build its native extensions.

After some research I found out the solution at http://github.com/oneclick/rubyinstaller/wiki/development-kit. What I was missing is development kit. I just followed the instruction and it was solved and installed devise with my Ruby 1.9.2 correctly.

But I am not sure whether it will work with Rails 3's bundle install command or not. I installed the gem from command line using the command gem install devise --platform=ruby before installing all the required gems with bundle install command . The last parameter platform is a must as it will temporarily use the DevKit to build native extensions. That's it.

Monday, August 30, 2010

Finally Rails 3.0 ships!!!

Its been few busy months and did not get chance to blog during this time. But I was following the rails 3.0 builds and now finally Rails 3.0 is released. Here is the release announcement:

http://weblog.rubyonrails.org/2010/8/29/rails-3-0-it-s-done

It has been the biggest and greatest release of all Rails versions. Looking forward to have a bite on this one eagerly...