Rmagick wouldn't load on server for windows

Was RMagick2.so built under windows?

yes i'm running on windows at the moment.

well i got the rmagick to load and put the

required "Rmagick" in the environment.rb

but when i try to post something with image it rolls back and does not
post. i followed the guide from the advanced rails recipes and just
changed the names around but bleh.

the view:

<% form_for(@item, :html => { :multipart => true }) do |f| %>
  <%= error_messages_for :item, :image %>

    <%= f.label :title %><br />
    <%= f.text_field :title %>
    <%= f.label :description %><br />
    <%= f.text_area :description %>
    <%= label :item, :image %>
    <%= file_field_tag :image_file %>
    <span class="hint">
    We accept JPEG, GIF, or PNG files up to 500 KB.
<%= f.label :price %><br />
<%= f.text_field :price %>
    <%= f.submit "Create" %>
<% end %>


def new
    @item = Item.new

    respond_to do |format|
      format.html # new.html.erb
      format.xml { render :xml => @item }

  # GET /items/1/edit
  def edit
    @item = Item.find(params[:id])

  # POST /items
  # POST /items.xml
  def create
    @item = Item.new(params[:item])
    @image = Image.new(:uploaded_data => params[:image_file])

    @service = ItemService.new(@item, @image)

    respond_to do |format|
      if @service.save
        flash[:notice] = 'Item was successfully created.'
        format.html { redirect_to(@item) }
        format.xml { render :xml => @item,
                             :status => :created,
                             :location => @item }
        format.html { render :action => "new" }
        format.xml { render :xml => @item.errors,
                             :status => :unprocessable_entity }


module ItemsHelper

  def image_for(item, size = :medium)
    if item.image
      image_image = item.image.public_filename(size)
      link_to image_tag(image_image), item.image.public_filename
      image_tag("blank-image-#{size}.png" )



class ItemService

  attr_reader :item, :image

  def initialize(item, image)
    @item = item
    @image = image

  def save
    return false unless valid?
      Image.transaction do
        if @image.new_record?
          @item.image.destroy if @item.cover
          @image.item = @item

  def valid?
    @item.valid? && @image.valid?

  def update_attributes(item_attributes, image_file)
    @item.attributes = item_attributes
    unless image_file.blank?
      @image = Image.new(:uploaded_data => image_file)



Processing ItemsController#create (for at 2008-10-28 22:08:46)
  Session ID:
"action"=>"create", "controller"=>"items", "item"=>{"title"=>"adf",
"price"=>"23", "description"=>"asdfasdf"}}
  e[4;35;1mItem Columns (0.004000)e[0m e[0mSHOW FIELDS FROM
  e[4;36;1mImage Columns (0.004000)e[0m e[0;1mSHOW FIELDS FROM
  e[4;35;1mSQL (0.001000)e[0m e[0mBEGINe[0m
  e[4;36;1mSQL (0.000000)e[0m e[0;1mROLLBACKe[0m
Rendering template within layouts/items
Rendering items/new
Completed in 0.23000 (4 reqs/sec) | Rendering: 0.00400 (1%) | DB:
0.00900 (3%) | 200 OK [http://localhost/items]