Satish / restful-authentication

Generates common user authentication code for Rails/Merb, with a full test/unit and rspec suite and optional Acts as State Machine support built-in.
http://weblog.techno-weenie.net
MIT License
82 stars 19 forks source link

Unknown encoding: mule-utf-8 #2

Open larskuhnt opened 14 years ago

larskuhnt commented 14 years ago

Hi,

I am getting the following error when I try to boot my rails3 app with your plugin installed:

vendor/plugins/restful-authentication/lib/authentication/by_cookie_token.rb:1: unknown encoding name: mule-utf-8 (ArgumentError)

It seems ruby 1.9.2.rc2 does not support that encoding and the line

# -*- coding: mule-utf-8 -*-

should be changed to

# -*- coding: utf-8 -*-

as discussed here

Thanks and greetings Lars