AlchemyCMS / alchemy_cms

Alchemy is the Open Source Rails CMS framework for the component based web that can be used as classic server side rendered or headless CMS.
https://www.alchemy-cms.com
BSD 3-Clause "New" or "Revised" License
846 stars 314 forks source link

Test against Ruby 1.9.2 #77

Closed tvdeyen closed 13 years ago

tvdeyen commented 13 years ago

With Travis CI we could test against Ruby 1.9.2.

We first should write some tests especially for image rendering. That's were we had issues lately with ruby 1.9.2.

tvdeyen commented 13 years ago

Ok, I still have image rendering problems:

+++++++++ Error: Exiting on signal %s (%d) occured at <global.c>:423 in sighandler_crash
SIGSEGV
 +++++++++++++

/Users/tvd/.rvm/gems/ruby-1.9.2-p290/gems/tvdeyen-fleximage-1.0.8/lib/fleximage/model.rb:343:in `read'
/Users/tvd/.rvm/gems/ruby-1.9.2-p290/gems/tvdeyen-fleximage-1.0.8/lib/fleximage/model.rb:343:in `image_file='
/Users/tvd/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.10/lib/active_record/base.rb:1565:in `block in attributes='
/Users/tvd/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.10/lib/active_record/base.rb:1561:in `each'
/Users/tvd/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.10/lib/active_record/base.rb:1561:in `attributes='
/Users/tvd/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.0.10/lib/active_record/base.rb:1412:in `initialize'
/Users/tvd/code/ruby/gems/alchemy_cms/app/controllers/admin/pictures_controller.rb:43:in `new'
/Users/tvd/code/ruby/gems/alchemy_cms/app/controllers/admin/pictures_controller.rb:43:in `create'

Can anyone confirm this, or is this a problem on my local machine?

tvdeyen commented 13 years ago

It was my local imagemagick installation. Just followed this guide:

http://simplificator.com/blog/2011/6/21/rmagick-crashing-with-segfaults-on-ruby-192.html

tvdeyen commented 13 years ago

Yippie Yeah. Good work marc. All tests are passing even on travis.