Skip to content

Invalid byte sequence us ascii when installing acts as api

fabrik42 edited this page Feb 26, 2012 · 1 revision

When you're getting an error like "Invalid byte sequence us ascii" in the .gemspec file when you install acts_as_api, e.g. via Bundler, your server (for example Ubuntu) probably misses UTF-8 locales.

A solution for Ubuntu would be:

sudo apt-get install language-support-en

Here is a Twitter conversation on this topic:

Part 1 Part 2 Part 3

Hope this helps!

I don't know how often this error occurs, so if you face it, please let me know :)