Closed diegoviola closed 10 years ago
I'm currently working on a project that is using this gem. When I run bundle exec rake db:create I get the following error:
bundle exec rake db:create
[diego@myhost fromthepage]$ bundle exec rake db:create rake aborted! /home/diego/.gem/ruby/2.1.0/gems/oai-0.3.0/lib/oai/client.rb:331: invalid multibyte escape: /[\x00-\x08\x10\x0B\x0C\x0E-\x19\x7F] | [\x00-\x7F][\x80-\xBF]+ | ([\xC0\xC1]|[\xF0-\xFF])[\x80-\xBF]* | [\xC2-\xDF]((?![\x80-\xBF])|[\x80-\xBF]{2,}) | [\xE0-\xEF](([\x80-\xBF](?![\x80-\xBF])) | (?![\x80-\xBF]{2})|[\x80-\xBF]{3,})/x too short escaped multibyte character: /\xE0[\x80-\x9F][\x80-\xBF] | \xED[\xA0-\xBF][\x80-\xBF]/ /home/diego/.gem/ruby/2.1.0/gems/oai-0.3.0/lib/oai.rb:6:in `require' /home/diego/.gem/ruby/2.1.0/gems/oai-0.3.0/lib/oai.rb:6:in `<top (required)>' /home/diego/.gem/ruby/2.1.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:76:in `require' /home/diego/.gem/ruby/2.1.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:76:in `block (2 levels) in require' /home/diego/.gem/ruby/2.1.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:72:in `each' /home/diego/.gem/ruby/2.1.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:72:in `block in require' /home/diego/.gem/ruby/2.1.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:61:in `each' /home/diego/.gem/ruby/2.1.0/gems/bundler-1.5.3/lib/bundler/runtime.rb:61:in `require' /home/diego/.gem/ruby/2.1.0/gems/bundler-1.5.3/lib/bundler.rb:131:in `require' /home/diego/work/fromthepage/config/application.rb:7:in `<top (required)>' /home/diego/work/fromthepage/Rakefile:5:in `require' /home/diego/work/fromthepage/Rakefile:5:in `<top (required)>' (See full trace by running task with --trace) [diego@myhost fromthepage]$
Any ideas?
Seems to be fixed in the latest release, 0.3.1.
Thanks.
I'm currently working on a project that is using this gem. When I run
bundle exec rake db:create
I get the following error:Any ideas?