{"id":1657,"date":"2014-12-16T19:35:38","date_gmt":"2014-12-16T19:35:38","guid":{"rendered":"https:\/\/www.couchbase.com\/blog\/?p=1657"},"modified":"2025-06-13T21:11:07","modified_gmt":"2025-06-14T04:11:07","slug":"introducing-ruby-sdk-20-developer-preview-jruby-support","status":"publish","type":"post","link":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/","title":{"rendered":"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support"},"content":{"rendered":"<p>Hi everyone, after long preparations, I pleased to announce preview on next generation API for ruby client. In general it just aligns ruby client with all other SDKs, where new document-oriented API had been released about a month ago.<\/p>\n<p><span style=\"font-family: inherit;font-size: 1em;line-height: 1.4375em\">At the moment the release only accessible for JRuby implementation, CRuby is coming. Here is sneak-peek of new design.<\/span><\/p>\n<div class=\"geshifilter\">\n<div class=\"ruby geshifilter-ruby\" style=\"font-family:monospace\"><span style=\"color:#CC0066;font-weight:bold\">require<\/span> <span style=\"color:#996600\">&#8216;couchbase&#8217;<\/span><\/p>\n<p>cluster = <span style=\"color:#6666ff;font-weight:bold\">Couchbase::Cluster<\/span>.<span style=\"color:#9900CC\">new<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#006600;font-weight:bold\">[<\/span><span style=\"color:#996600\">&#8216;localhost&#8217;<\/span><span style=\"color:#006600;font-weight:bold\">]<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span><br \/>bucket = cluster.<span style=\"color:#9900CC\">open_bucket<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">&#8216;beer-sample&#8217;<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span><\/p>\n<p>doc = bucket.<span style=\"color:#9900CC\">get<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">&#8216;abbaye_de_leffe-leffe_blonde&#8217;<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span><br \/><span style=\"color:#008000;font-style:italic\"># =&gt; #&lt;Couchbase::Document:0x207513da<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 @cas=255200433657064,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 @content=<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 \u00a0{&#8220;name&#8221;=&gt;&#8221;Leffe Blonde&#8221;,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 \u00a0 &#8220;abv&#8221;=&gt;6.6,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 \u00a0 &#8220;ibu&#8221;=&gt;0.0,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 \u00a0 &#8220;srm&#8221;=&gt;0.0,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 \u00a0 &#8220;upc&#8221;=&gt;0,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 \u00a0 &#8220;type&#8221;=&gt;&#8221;beer&#8221;,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 \u00a0 &#8220;brewery_id&#8221;=&gt;&#8221;abbaye_de_leffe&#8221;,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 \u00a0 &#8220;updated&#8221;=&gt;&#8221;2010-07-22 20:00:20&#8221;,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 \u00a0 &#8220;description&#8221;=&gt;&#8221;&#8221;,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 \u00a0 &#8220;style&#8221;=&gt;&#8221;Golden or Blonde Ale&#8221;,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 \u00a0 &#8220;category&#8221;=&gt;&#8221;North American Ale&#8221;},<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 @expiry=0,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 @id=&#8221;abbaye_de_leffe-leffe_blonde&#8221;,<\/span><br \/><span style=\"color:#008000;font-style:italic\"># \u00a0 \u00a0 @transcode=true&gt;<\/span><\/p>\n<p>doc.<span style=\"color:#9900CC\">content<\/span>.<span style=\"color:#9900CC\">update<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">&#8216;ibu&#8217;<\/span> <span style=\"color:#006600;font-weight:bold\">=&gt;<\/span> <span style=\"color:#006666\">20<\/span>, <span style=\"color:#996600\">&#8216;description&#8217;<\/span> <span style=\"color:#006600;font-weight:bold\">=&gt;<\/span> <span style=\"color:#006600;font-weight:bold\">&lt;&lt;<\/span>EOD<span style=\"color:#006600;font-weight:bold\">)<\/span><br \/>Leffe Blond is the flagship of Leffe. <span style=\"color:#9900CC\">The<\/span> unique recipe is the fruit<br \/>of centuries of experience <span style=\"color:#9966CC;font-weight:bold\">in<\/span> the art of brewing, which brings a broad<br \/>palette of aromas into balance.<br \/><span style=\"color:#9900CC\">EOD<\/span><\/p>\n<p>bucket.<span style=\"color:#9900CC\">replace<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span>doc<span style=\"color:#006600;font-weight:bold\">)<\/span><\/p>\n<p>doc = bucket.<span style=\"color:#9900CC\">get<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">&#8216;abbaye_de_leffe-leffe_blonde&#8217;<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span><br \/>doc.<span style=\"color:#9900CC\">content<\/span><span style=\"color:#006600;font-weight:bold\">[<\/span><span style=\"color:#996600\">&#8216;ibu&#8217;<\/span><span style=\"color:#006600;font-weight:bold\">]<\/span><br \/><span style=\"color:#008000;font-style:italic\"># =&gt; 20<\/span><\/p>\n<p>res = bucket.<span style=\"color:#9900CC\">query<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">&#8216;beer&#8217;<\/span>, <span style=\"color:#996600\">&#8216;by_location&#8217;<\/span>, <span style=\"color:#ff3333;font-weight:bold\">:group_level<\/span> <span style=\"color:#006600;font-weight:bold\">=&gt;<\/span> <span style=\"color:#006666\">1<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span><br \/><span style=\"color:#CC0066;font-weight:bold\">puts<\/span> <span style=\"color:#996600\">&#8216;First 4 countries:&#8217;<\/span><br \/>res.<span style=\"color:#9900CC\">rows<\/span>.<span style=\"color:#9900CC\">take<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#006666\">4<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span>.<span style=\"color:#9900CC\">each<\/span> <span style=\"color:#9966CC;font-weight:bold\">do<\/span> <span style=\"color:#006600;font-weight:bold\">|<\/span>row<span style=\"color:#006600;font-weight:bold\">|<\/span><br \/>\u00a0 <span style=\"color:#CC0066;font-weight:bold\">puts<\/span> <span style=\"color:#996600\">&#8220;#{row[&#8216;key&#8217;].first}: #{row[&#8216;value&#8217;]}&#8221;<\/span><br \/><span style=\"color:#9966CC;font-weight:bold\">end<\/span><\/p>\n<p>res.<span style=\"color:#9900CC\">rows<\/span>.<span style=\"color:#9900CC\">each<\/span> <span style=\"color:#9966CC;font-weight:bold\">do<\/span> <span style=\"color:#006600;font-weight:bold\">|<\/span>row<span style=\"color:#006600;font-weight:bold\">|<\/span><br \/>\u00a0 bucket.<span style=\"color:#9900CC\">counter<\/span><span style=\"color:#006600;font-weight:bold\">(<\/span><span style=\"color:#996600\">&#8216;beer_lovers&#8217;<\/span>, <span style=\"color:#006600;font-weight:bold\">+<\/span><span style=\"color:#006666\">1<\/span>, initial: <span style=\"color:#006666\">1<\/span><span style=\"color:#006600;font-weight:bold\">)<\/span> <span style=\"color:#9966CC;font-weight:bold\">if<\/span> row<span style=\"color:#006600;font-weight:bold\">[<\/span><span style=\"color:#996600\">&#8216;value&#8217;<\/span><span style=\"color:#006600;font-weight:bold\">]<\/span> <span style=\"color:#006600;font-weight:bold\">&gt;<\/span> <span style=\"color:#006666\">10<\/span><br \/><span style=\"color:#9966CC;font-weight:bold\">end<\/span><br \/><span style=\"color:#CC0066;font-weight:bold\">puts<\/span> <span style=\"color:#996600\">&#8220;There are #{bucket.get(&#8216;beer_lovers&#8217;).content} countries with more than 10 breweries&#8221;<\/span><\/p>\n<p>cluster.<span style=\"color:#9900CC\">disconnect<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; First 4 countries:<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; Argentina: 2<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; Aruba: 1<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; Australia: 14<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; Austria: 10<\/span><br \/><span style=\"color:#008000;font-style:italic\"># &gt;&gt; There are 171 countries with more than 10 breweries<\/span><\/div>\n<\/div>\n<p><span style=\"font-family: inherit;font-size: 1em;line-height: 1.4375em\">The new version already available at\u00a0<\/span><a href=\"https:\/\/rubygems.org\/gems\/couchbase\/versions\/2.0.0.pre.1-java\" style=\"font-family: inherit;font-size: 1em;line-height: 1.4375em\">https:\/\/rubygems.org\/gems\/couchbase\/versions\/2.0.0.pre.1-java<\/a><span style=\"font-family: inherit;font-size: 1em;line-height: 1.4375em\">\u00a0and can be installed either with gem command:<\/span><\/p>\n<div class=\"geshifilter\">\n<div class=\"text geshifilter-text\" style=\"font-family:monospace\">$ jruby -S gem install couchbase &#8211;pre<br \/>Successfully installed couchbase-2.0.0.pre.1-java<br \/>Parsing documentation for couchbase-2.0.0.pre.1-java<br \/>Done installing documentation for couchbase after 0 seconds<br \/>1 gem installed<\/div>\n<\/div>\n<p>Or with gem bundler, just use the following Gemfile<\/p>\n<div class=\"geshifilter\">\n<div class=\"ruby geshifilter-ruby\" style=\"font-family:monospace\">source <span style=\"color:#996600\">&#8216;https:\/\/rubygems.org&#8217;<\/span><\/p>\n<p>gem <span style=\"color:#996600\">&#8216;couchbase&#8217;<\/span>, <span style=\"color:#996600\">&#8216;~&gt; 2.0.0.pre.1&#8217;<\/span><\/div>\n<\/div>\n<p><span style=\"font-family: inherit;font-size: 1em;line-height: 1.4375em\">Please leave your feedback here in comments or on your new forum: <a href=\"https:\/\/www.couchbase.com\/forums\/c\/ruby-sdk\/\">https:\/\/www.couchbase.com\/forums\/c\/ruby-sdk<\/a>. Thanks<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi everyone, after long preparations, I pleased to announce preview on next generation API for ruby client. In general it just aligns ruby client with all other SDKs, where new document-oriented API had been released about a month ago. At [&hellip;]<\/p>\n","protected":false},"author":25,"featured_media":13873,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[1816,9407,2201],"tags":[],"ppma_author":[8995],"class_list":["post-1657","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-couchbase-server","category-ruby","category-tools-sdks"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Introducing Ruby SDK 2.0 Developer Preview with JRuby Support - The Couchbase Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support\" \/>\n<meta property=\"og:description\" content=\"Hi everyone, after long preparations, I pleased to announce preview on next generation API for ruby client. In general it just aligns ruby client with all other SDKs, where new document-oriented API had been released about a month ago. At [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\" \/>\n<meta property=\"og:site_name\" content=\"The Couchbase Blog\" \/>\n<meta property=\"article:published_time\" content=\"2014-12-16T19:35:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-14T04:11:07+00:00\" \/>\n<meta name=\"author\" content=\"Sergey Avseyev, SDK Engineer, Couchbase\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@avsej\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sergey Avseyev, SDK Engineer, Couchbase\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\"},\"author\":{\"name\":\"Sergey Avseyev, SDK Engineer, Couchbase\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/e9181374f225c90084ec3ba86bdcfa2e\"},\"headline\":\"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support\",\"datePublished\":\"2014-12-16T19:35:38+00:00\",\"dateModified\":\"2025-06-14T04:11:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\"},\"wordCount\":356,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"articleSection\":[\"Couchbase Server\",\"Ruby\",\"Tools &amp; SDKs\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\",\"name\":\"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support - The Couchbase Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"datePublished\":\"2014-12-16T19:35:38+00:00\",\"dateModified\":\"2025-06-14T04:11:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png\",\"width\":1800,\"height\":630},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.couchbase.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#website\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"name\":\"The Couchbase Blog\",\"description\":\"Couchbase, the NoSQL Database\",\"publisher\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#organization\",\"name\":\"The Couchbase Blog\",\"url\":\"https:\/\/www.couchbase.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"contentUrl\":\"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png\",\"width\":218,\"height\":34,\"caption\":\"The Couchbase Blog\"},\"image\":{\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/e9181374f225c90084ec3ba86bdcfa2e\",\"name\":\"Sergey Avseyev, SDK Engineer, Couchbase\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/796ab283bd56fe3716a102ebe16daff6\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/288a892d231cf8c4e57ed0643e4681b4654a141361f6ec3c5b79ccd4d885e038?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/288a892d231cf8c4e57ed0643e4681b4654a141361f6ec3c5b79ccd4d885e038?s=96&d=mm&r=g\",\"caption\":\"Sergey Avseyev, SDK Engineer, Couchbase\"},\"description\":\"Sergey Avseyev is a SDK Engineer at Couchbase. Sergey Avseyev is responsible for development of Kafka connector, and underlying library, which implements DCP, Couchbase replication protocol. Also maintaining PHP SDK for Couchbase.\",\"sameAs\":[\"https:\/\/x.com\/avsej\"],\"url\":\"https:\/\/www.couchbase.com\/blog\/author\/sergey-avseyev\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support - The Couchbase Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/","og_locale":"en_US","og_type":"article","og_title":"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support","og_description":"Hi everyone, after long preparations, I pleased to announce preview on next generation API for ruby client. In general it just aligns ruby client with all other SDKs, where new document-oriented API had been released about a month ago. At [&hellip;]","og_url":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/","og_site_name":"The Couchbase Blog","article_published_time":"2014-12-16T19:35:38+00:00","article_modified_time":"2025-06-14T04:11:07+00:00","author":"Sergey Avseyev, SDK Engineer, Couchbase","twitter_card":"summary_large_image","twitter_creator":"@avsej","twitter_misc":{"Written by":"Sergey Avseyev, SDK Engineer, Couchbase","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#article","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/"},"author":{"name":"Sergey Avseyev, SDK Engineer, Couchbase","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/e9181374f225c90084ec3ba86bdcfa2e"},"headline":"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support","datePublished":"2014-12-16T19:35:38+00:00","dateModified":"2025-06-14T04:11:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/"},"wordCount":356,"commentCount":0,"publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","articleSection":["Couchbase Server","Ruby","Tools &amp; SDKs"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/","url":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/","name":"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support - The Couchbase Blog","isPartOf":{"@id":"https:\/\/www.couchbase.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage"},"thumbnailUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","datePublished":"2014-12-16T19:35:38+00:00","dateModified":"2025-06-14T04:11:07+00:00","breadcrumb":{"@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#primaryimage","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/sites\/1\/2022\/11\/couchbase-nosql-dbaas.png","width":1800,"height":630},{"@type":"BreadcrumbList","@id":"https:\/\/www.couchbase.com\/blog\/introducing-ruby-sdk-20-developer-preview-jruby-support\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.couchbase.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Introducing Ruby SDK 2.0 Developer Preview with JRuby Support"}]},{"@type":"WebSite","@id":"https:\/\/www.couchbase.com\/blog\/#website","url":"https:\/\/www.couchbase.com\/blog\/","name":"The Couchbase Blog","description":"Couchbase, the NoSQL Database","publisher":{"@id":"https:\/\/www.couchbase.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.couchbase.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.couchbase.com\/blog\/#organization","name":"The Couchbase Blog","url":"https:\/\/www.couchbase.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","contentUrl":"https:\/\/www.couchbase.com\/blog\/wp-content\/uploads\/2023\/04\/admin-logo.png","width":218,"height":34,"caption":"The Couchbase Blog"},"image":{"@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/e9181374f225c90084ec3ba86bdcfa2e","name":"Sergey Avseyev, SDK Engineer, Couchbase","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.couchbase.com\/blog\/#\/schema\/person\/image\/796ab283bd56fe3716a102ebe16daff6","url":"https:\/\/secure.gravatar.com\/avatar\/288a892d231cf8c4e57ed0643e4681b4654a141361f6ec3c5b79ccd4d885e038?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/288a892d231cf8c4e57ed0643e4681b4654a141361f6ec3c5b79ccd4d885e038?s=96&d=mm&r=g","caption":"Sergey Avseyev, SDK Engineer, Couchbase"},"description":"Sergey Avseyev is a SDK Engineer at Couchbase. Sergey Avseyev is responsible for development of Kafka connector, and underlying library, which implements DCP, Couchbase replication protocol. Also maintaining PHP SDK for Couchbase.","sameAs":["https:\/\/x.com\/avsej"],"url":"https:\/\/www.couchbase.com\/blog\/author\/sergey-avseyev\/"}]}},"authors":[{"term_id":8995,"user_id":25,"is_guest":0,"slug":"sergey-avseyev","display_name":"Sergey Avseyev, SDK Engineer, Couchbase","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/288a892d231cf8c4e57ed0643e4681b4654a141361f6ec3c5b79ccd4d885e038?s=96&d=mm&r=g","author_category":"","last_name":"Avseyev, SDK Engineer, Couchbase","first_name":"Sergey","job_title":"","user_url":"","description":"Sergey Avseyev is a SDK Engineer at Couchbase. Sergey Avseyev is responsible for development of Kafka connector, and underlying library, which implements DCP, Couchbase replication protocol. Also maintaining PHP SDK for Couchbase."}],"_links":{"self":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/1657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/comments?post=1657"}],"version-history":[{"count":0,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/posts\/1657\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media\/13873"}],"wp:attachment":[{"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/media?parent=1657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/categories?post=1657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/tags?post=1657"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.couchbase.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=1657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}