Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7951069
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:27:03+00:00 2026-06-04T02:27:03+00:00

Our setup includes the following: Ruby 1.9.1 Rails 2.3.4 Postgres 9 Linux When trying

  • 0

Our setup includes the following:

  • Ruby 1.9.1
  • Rails 2.3.4
  • Postgres 9
  • Linux

When trying to output some UTF-8 data from the DB as CSV, Rails throws the following error:

ArgumentError (invalid byte sequence in US-ASCII):
  haml (2.2.5) lib/sass/plugin/rails.rb:19:in `process'
  <internal:prelude>:8:in `synchronize'
  /usr/local/rvm/rubies/ruby-1.9.1-p431/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
  /usr/local/rvm/rubies/ruby-1.9.1-p431/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
  /usr/local/rvm/rubies/ruby-1.9.1-p431/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'

The same error occurs both when running through Webrick using script/server and through Passenger.

The funny part is that, on the almost same setup on my local machine, using the same database and the same request (so with the same data in the resultset), it doesn’t crash.

Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T02:27:06+00:00Added an answer on June 4, 2026 at 2:27 am

    Moving to Ruby 1.9.2 and Rails 2.3.14 indeed did solve the issue. Thanks to Frederick!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a master-master replication setup for one of our databases. Some automated backup
I received the following query from a customer: I am doing some research into
Our setup includes a WCF service and a number of clients written by us.
I am trying to setup my Zend Framework project with some development helper code.
Our setup is standard nginx (ver 0.7.59) + thin upstream servers on Debian lenny.
Our setup as follows: We have a local development server running Ubuntu, with a
A little setup: Our shop has a mixture of different platforms. Almost all of
We have just setup our hudson server to build .NET projects which seems to
I am developing a PHP application using our XAMPP setup as a test server.
I am a web developer working with 2-3 people including me. Our current setup

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.