From: Ashita Hara Date: 2010-02-11T13:12:09+09:00 Subject: Re: trouble using blowfish Hello Justin, Thank you for your advise. That did the trick. Regards, Ashita Justin Collins wrote: > Ashita Hara wrote: >> irb(main):002:0> blowfish = Crypt::Blowfish.new("key") >> from >> `initialize' >> >> to fix this code. >> Any help will be greatly appreciated. >> >> Regards, >> Ashita >> > > The gem you are using apparently has not been updated to work with Ruby > 1.9. > > You can try changing @key[keypos] to @key[keypos].ord > > However, there may be other incompatibilities in the gem. > > -Justin -- Posted via http://www.ruby-forum.com/.