{"id":7233,"date":"2014-05-31T23:02:48","date_gmt":"2014-05-31T23:02:48","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/05\/31\/problem-about-rdiscount-collection-of-common-programming-errors\/"},"modified":"2014-05-31T23:02:48","modified_gmt":"2014-05-31T23:02:48","slug":"problem-about-rdiscount-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/05\/31\/problem-about-rdiscount-collection-of-common-programming-errors\/","title":{"rendered":"problem about rdiscount-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/932d3fbb93a7cc8bc8ee1bd74de8929a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nSean<br \/>\nruby-on-rails ruby rubygems jekyll rdiscount<br \/>\nI am attempting to get Jekyll and bower working within Windows 8I have managed to install Ruby, and the DevKit, I tried, version 2.0.2, 1.9.3 and then again with the Rails installer from http:\/\/railsinstaller.org\/I have followed both scenario A and B at the following, https:\/\/github.com\/oneclick\/rubyinstaller\/wiki\/Troubleshooting#wiki-gems_fails_comspec_autorun but neither are relevant to me, COMSPEC is my cmd.exe location and I don&#8217;t have an autorun?I can run gem install mysql but attempting t<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/V9h27.jpg?s=32&amp;g=1\" \/><br \/>\nPNY<br \/>\nruby-on-rails heroku bundler rdiscount<br \/>\nI used the rdiscount gem for something i thought I might needed it but then I unistalled it. When I tried to deploy the app on Heroku I get the following:Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.\/usr\/local\/bin\/ruby extconf.rbchecking for random()&#8230; yeschecking for srandom()&#8230; yeschecking for rand()&#8230; yeschecking for srand()&#8230; yeschecking size of unsigned long&#8230; longchecking size of unsigned int&#8230; intno int with size 4*** extconf.rb failed ***Could no<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/96cf06f2f52f4e33a5d66972454c7954?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nstanicmail<br \/>\nwindows rdiscount<br \/>\nI am trying to install rdiscount gem but encountered the following error. How can I install rdiscount in windows 7?C:\\&gt;gem install rdiscount &#8211;platform=ruby Temporarily enhancing PATH to include DevKit&#8230; Building native extensions. This could take a while&#8230; ERROR: Error installing rdiscount:ERROR: Failed to build gem native extension.C:\/Ruby193\/bin\/ruby.exe extconf.rb checking for random()&#8230; no checking for srandom()&#8230; no checking for rand()&#8230; yes checking for srand()&#8230; yes checking s<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e52bc2d5fc3983e2ab1afb2b38b65444?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nDave Newton<br \/>\nruby heroku gem bundler rdiscount<br \/>\nI am trying to push a small test app to Heroku. Here is the App and the Gem file:App:require &#8216;sinatra&#8217; require &#8216;haml&#8217; require &#8216;rdiscount&#8217;set :markdown, :layout_engine =&gt; :haml, :layout =&gt; :layoutget &#8216;\/&#8217; do haml :index endget &#8216;\/blog&#8217; do markdown :test endGemfile:source :rubygems gem &#8216;sinatra&#8217; gem &#8216;thin&#8217; gem &#8216;haml&#8217; gem &#8216;rdiscount&#8217;Before pushing to Heroku I run bundle install. But pushing to Heroku fails when trying to install the rdiscount gem:&#8212;&#8211;&gt; Ruby\/Rack app detected &#8212;&#8211;&gt; Insta<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/2fe93d63a04de35c8836ec2b1d4cca2d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nvalentino<br \/>\nruby octopress rdiscount<br \/>\nI tried to install octopress following the documentation and got this error during the process. (after &#8216;bundle install&#8217;)Tried to manually reinstall it with no success.Installing rdiscount (2.0.7.3) Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.\/Users\/*****\/.rvm\/rubies\/ruby-1.9.3-p194\/bin\/ruby extconf.rb checking for random()&#8230; yes checking for srandom()&#8230; yes checking for rand()&#8230; yes checking for srand()&#8230; yes checking size of unsigned long&#8230; *** extcon<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8c997e343925d39d4858cf401b9381aa?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nCrowChick<br \/>\nrvm rdiscount<br \/>\nThis is interesting. I had rdiscount working within one rvm gemset, but when I tried to add it to another, I would get ERROR: Failed to build gem native extension. So I tried removing it from the original gemset and re-installing it only to get the same error. I&#8217;m not sure what is going on. I&#8217;m trying to use it with Jekyll and Octopress builds. I&#8217;m on OS X 10.7.5.Here&#8217;s what happens: Using \/Users\/rachelnabors\/.rvm\/gems\/ruby-1.9.2-p290 with gemset jekyll Can-Opener:RachelNabors.com rachelnabors$<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n<p>I discovery a place to host code\u3001demo\u3001 blog and websites.<br \/>\nSite access is fast but not money<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.m5zn.com\/newuploads\/2014\/01\/30\/jpg\/e7da807964b1fff.jpg\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sean ruby-on-rails ruby rubygems jekyll rdiscount I am attempting to get Jekyll and bower working within Windows 8I have managed to install Ruby, and the DevKit, I tried, version 2.0.2, 1.9.3 and then again with the Rails installer from http:\/\/railsinstaller.org\/I have followed both scenario A and B at the following, https:\/\/github.com\/oneclick\/rubyinstaller\/wiki\/Troubleshooting#wiki-gems_fails_comspec_autorun but neither are relevant [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7233","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7233"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7233\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}