document.write("<div class=\"pastie\">\n");
document.write("  <link href=\"http://pastie.org/stylesheets/embed.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  <link href=\"http://pastie.org/stylesheets/clean.css\" media=\"screen\" rel=\"stylesheet\" type=\"text/css\" />\n");
document.write("  \n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("\n");
document.write("	\n");
document.write("	<div class=\"allcode wrap\">\n");
document.write("	<pre class=\"textmate-source\"><pre class=\"sunburst\"><span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_ruby\'># (1)  Create the directory:  vendor/rails/activesupport/lib/active_support/vendor/memcache-client-1.7.4/<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_ruby\'># (2)  Grab the memcache.rb file from the /lib directory on github (http://github.com/mperham/memcache-client/tree/master), and put this file in the above active_support directory.<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_ruby\'># (3)  Inside of vendor/rails/activesupport/lib/active_support/vendor.rb, make the following changes (around line 16):<\/span>\n");
document.write("\n");
document.write("<span class=\'keyword keyword_control keyword_control_ruby\'>begin<\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_ruby\'>  # HACK: gem \'memcache-client\', \'~&gt; 1.5.1\'<\/span>\n");
document.write("  gem <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'memcache-client\'<\/span>, <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'&gt;= 1.7.4\'<\/span>\n");
document.write("<span class=\'keyword keyword_control keyword_control_ruby\'>rescue<\/span> <span class=\'support support_class support_class_ruby\'>Gem<\/span><span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_without-arguments meta_function-call_method_without-arguments_ruby\'>::<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>LoadError<\/span><\/span>\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_ruby\'>  # HACK:  $:.unshift &quot;#{File.dirname(__FILE__)}/vendor/memcache-client-1.5.1&quot;<\/span>\n");
document.write("  <span class=\'variable variable_other variable_other_readwrite variable_other_readwrite_global variable_other_readwrite_global_pre-defined variable_other_readwrite_global_pre-defined_ruby\'>$:<\/span><span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_without-arguments meta_function-call_method_without-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>unshift<\/span><\/span> <span class=\'string string_quoted string_quoted_double string_quoted_double_ruby\'>&quot;<span class=\'source source_ruby source_ruby_embedded source_ruby_embedded_source\'>#{<span class=\'support support_class support_class_ruby\'>File<\/span><span class=\'meta meta_function-call meta_function-call_method meta_function-call_method_with-arguments meta_function-call_method_with-arguments_ruby\'>.<span class=\'entity entity_name entity_name_function entity_name_function_ruby\'>dirname<\/span><\/span>(<span class=\'variable variable_language variable_language_ruby\'>__FILE__<\/span>)}<\/span>/vendor/memcache-client-1.7.4&quot;<\/span>\n");
document.write("<span class=\'keyword keyword_control keyword_control_ruby\'>end<\/span>\n");
document.write("\n");
document.write("<span class=\'comment comment_line comment_line_number-sign comment_line_number-sign_ruby\'># (4)  Remove this last line of the vendor/rails/activesupport/lib/active_support/vendor/memcache-client-1.7.4/memcache.rb file unless you are very concerned about optimized performance through inlining:<\/span>\n");
document.write("<span class=\'meta meta_require meta_require_ruby\'><span class=\'keyword keyword_other keyword_other_special-method keyword_other_special-method_ruby\'>require<\/span> <span class=\'string string_quoted string_quoted_single string_quoted_single_ruby\'>\'continuum_native\'<\/span><\/span>\n");
document.write("<\/pre><\/pre>\n");
document.write("	\n");
document.write("	<\/div>\n");
document.write("\n");
document.write("\n");
document.write("  \n");
document.write("  \n");
document.write("  <div class=\"credit\">\n");
document.write("    <div class=\"buttons\">\n");
document.write("      <a href=\"http://pastie.org/pastes/532713.txt\">\n");
document.write("      <img src=\"http://pastie.org/images/view.png\" height=\"20\" width=\"67\" /><\/a>\n");
document.write("    <\/div>\n");
document.write("  \n");
document.write("    <a href=\"http://pastie.org/532713\">Pastie #532713<\/a> linked directly from <a href=\"http://pastie.org/\">Pastie<\/a>.\n");
document.write("  <\/div><\/div>");
