-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base64 error with ruby1.9 #3
Comments
Update to newer version of Ruby 1.9.1 |
yes this is definitly what I had to do though most of current distribution don't have ruby 1.9.1 |
You should use Array.pack and string.unpack "m" Greetings, |
i installed ruby 1.9.1 (easier way in time limited). But anyway I'm not sure couchrest should require 1.9.1 actually. very little linux distribution have it in stable. |
I meant couchrest could use Array.pack("m*") instead of using Base64.encode64 to obviate that version dependency. http://www.ruby-forum.com/topic/132076 Greetings |
on Ubuntu 9.04 jaunty with ruby 1.9.0 (2008-06-20 revision 17482) I get the error :
'/var/lib/gems/1.9.0/gems/couchrest-0.33/lib/couchrest/core/database.rb:2:in
require': no such file to load -- base64 (LoadError) from /var/lib/gems/1.9.0/gems/couchrest-0.33/lib/couchrest/core/database.rb:2:in
<top (required)>'from /var/lib/gems/1.9.0/gems/couchrest-0.33/lib/couchrest/core/server.rb:53:in
database' from /var/lib/gems/1.9.0/gems/couchrest-0.33/lib/couchrest/core/server.rb:59:in
database!'from /var/lib/gems/1.9.0/gems/couchrest-0.33/lib/couchrest.rb:138:in
database!' from /usr/local/aimpl-version/aimpl/scripts/make_pl.rb:6:in
The text was updated successfully, but these errors were encountered: