0
ruby 1.9.2를 사용하는 경우 CouchRest Db를 사용하여 Db를 호출 할 때 문제가 발생합니다. 동일한 호출은 루비 버전 1.8.7에서 작동합니다.CouchRest 1.0.1은 ruby 1.9.2와 호환됩니다.
루비 버전 1.9.2 또는 그와 비슷한 버전의 COuchrest 1.0.1을 사용하는 사람이 있습니까?
내가 점점 오전 오류입니다 -
RestClient::BadRequest: 400 Bad Request
from ~/.rvm/gems/ruby-1.9.2-p180/gems/rest-client-1.6.1/lib/restclient/abstract_response.rb:48:in `return!'
from ~/.rvm/gems/ruby-1.9.2-p180/gems/rest-client-1.6.1/lib/restclient/request.rb:220:in `process_result'
from ~/.rvm/gems/ruby-1.9.2-p180/gems/rest-client-1.6.1/lib/restclient/request.rb:169:in `block in transmit'
from ~/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/net/http.rb:627:in `start'
from ~/.rvm/gems/ruby-1.9.2-p180/gems/rest-client-1.6.1/lib/restclient/request.rb:166:in `transmit'
from ~/.rvm/gems/ruby-1.9.2-p180/gems/rest-client-1.6.1/lib/restclient/request.rb:60:in `execute'
from ~/.rvm/gems/ruby-1.9.2-p180/gems/rest-client-1.6.1/lib/restclient/request.rb:31:in `execute'
from ~/.rvm/gems/ruby-1.9.2-p180/gems/rest-client-1.6.1/lib/restclient.rb:76:in `put'
from ~/.rvm/gems/ruby-1.9.2-p180/gems/couchrest-1.0.1/lib/couchrest/rest_api.rb:13:in `put'
from ~/.rvm/gems/ruby-1.9.2-p180/gems/couchrest-1.0.1/lib/couchrest/database.rb:176:in `save_doc'
from ~/.rvm/gems/ruby-1.9.2-p180/gems/couchrest-1.0.1/lib/couchrest/document.rb:42:in `save'
from ~/.rvm/gems/ruby-1.9.2-p180/gems/couchrest-1.0.1/lib/couchrest/design.rb:61:in `save'
감사합니다.
비슷한 문제가 있습니다. 더 자세하게 얘기해 주 시겠어요? https://gist.github.com/2862111 –