Error Installing Oniguruma Gem
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Oniguruma 1.1.0 not compatible with Ruby 2.3.1 up vote 1 down vote favorite I installed ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux] and rails 4.2.6. I wrote a Gemfile which has all bundles. Gemfile: source 'http://rubygems.org' source 'http://gems.github.com' #New gem files from Ajay #gem 'activesupport', '4.2.6' gem 'rails', '4.2.6' gem 'rake','0.8.7' # Bundle edge Rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' #gem 'mysql2', '0.2.6' gem 'mysql2', '0.3.20' # GUID generator gem 'uuidtools', '2.1.2' # Paperclip: for image resizing gem 'paperclip', '2.4' # Delayed job gem 'delayed_job', '4.1.2' # Typus, admin interface gem 'typus', '3.0.2' # set attribute value to nil if blank gem "nilify_blanks", '1.0.0' # ssl gem gem "bartt-ssl_requirement", "~> 1.2.7", :require => 'ssl_requirement' # for social login gem 'omniauth', '1.3.1' # to detect user location gem 'geocoder', '1.1.0' # use to sanitize html gem 'sanitize', '4.0.1' # captcha for registration gem 'recaptcha', '0.3.1', :require => "recaptcha/rails" # base 32 gem 'base32', '0.1.3' # amazon s3 gem 'aws-s3', '0.6.2' #json gem 'json', '1.8.3' # pagination gem 'will_paginate', '3.0.pre2' # jammit for asset packaging gem 'jammit', '0.6.3' gem 'oniguruma' # Use unicorn as the web server # gem 'unicorn' # Deploy with Capistrano # gem 'capistrano' # To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+) # gem 'ruby-debug' # gem 'ruby-debug19' # Bundle the extra gems: # gem 'bj' # gem 'nokogiri', "1.4.4.1" # gem 'sqlite3-ruby', :require => 'sqlite3' # gem 'aws-s3', :require => 'aws/s3' # Bundle gems for the local environment. Make sure to # put test-only gems in this group so their
is an advanced regular expression engine for Ruby. Install Oniguruma with binary dependencies like this: sudo apt-get install libonig2 libonig-dev sudo gem install oniguruma On the Mac do: brew install oniguruma sudo gem install oniguruma Protect your Rails app from security breaches Does your version of Ruby on Rails still receive security updates? Rails LTS provides security patches for old versions of Ruby on http://stackoverflow.com/questions/37806851/oniguruma-1-1-0-not-compatible-with-ruby-2-3-1 Rails (3.2 and 2.3). Learn more Author of this card: Henning Koch makandra.com Say thanks 1 Your thanks were sent to ! If you found our advice to be useful, note that we just published a book about maintainable Rails applications: Check out our new e-book: Growing Rails Applications in Practice Learn https://makandracards.com/makandra/1705-install-the-oniguruma-gem to structure large Ruby on Rails codebases with the tools you already know and love. Learn more About this deck: We are makandra and do test-driven, agile Ruby on Rails software development. License for source code License for source code All source code included in the card Install the Oniguruma gem is licensed under the license stated below. This includes both code snippets embedded in the card text and code that is included as a file attachment. Excepted from this license are code snippets that are explicitely marked as citations from another source. The MIT License (MIT) Copyright (c) 2011-2012 makandra GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to
a GitHub account Sign in Create a gist now Instantly share code, notes, and snippets. Star 0 Fork https://gist.github.com/felixge/223766 0 felixge/gist:223766 Created Nov 1, 2009 Embed What would you like https://snippets.aktagon.com/snippets/61-installing-ultraviolet-and-oniguruma to do? Embed Embed this gist in your website. Embed Share Copy sharable URL for this gist. Share Clone via HTTPS Clone with Git or checkout with SVN using the repository's web address. HTTPS Learn more about clone URLs Download ZIP Code error installing Revisions 1 Raw gistfile1.txt felix-mbp-2009:~ felix$ sudo gem install oniguruma Building native extensions. This could take a while... ERROR: Error installing oniguruma: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb checking for main() in -lonig... no creating Makefile make gcc -I. -I. -I/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/universal-darwin9.0 -I. -fno-common -Wall -c oregexp.c oregexp.c:2:23: error: oniguruma.h: No such error installing oniguruma file or directory oregexp.c:9: error: syntax error before ‘regex_t’ oregexp.c:9: warning: no semicolon at end of struct or union oregexp.c:10: warning: type defaults to ‘int’ in declaration of ‘ORegexp’ oregexp.c:10: warning: data definition has no type or storage class oregexp.c:15: error: syntax error before ‘*’ token oregexp.c: In function ‘oregexp_free’: oregexp.c:16: warning: implicit declaration of function ‘onig_free’ oregexp.c:16: error: ‘oregexp’ undeclared (first use in this function) oregexp.c:16: error: (Each undeclared identifier is reported only once oregexp.c:16: error: for each function it appears in.) oregexp.c: In function ‘oregexp_allocate’: oregexp.c:21: error: ‘oregexp’ undeclared (first use in this function) oregexp.c: At top level: oregexp.c:27: error: syntax error before ‘*’ token oregexp.c:27: warning: return type defaults to ‘int’ oregexp.c: In function ‘int2encoding’: oregexp.c:32: error: ‘ONIG_ENCODING_ASCII’ undeclared (first use in this function) oregexp.c:33: error: ‘ONIG_ENCODING_ISO_8859_1’ undeclared (first use in this function) oregexp.c:34: error: ‘ONIG_ENCODING_ISO_8859_2’ undeclared (first use in this function) oregexp.c:35: error: ‘ONIG_ENCODING_ISO_8859_3’ undeclared (first use in this function) oregexp.c:36: error: ‘ONIG_ENCODING_ISO_8859_4’ undec
migrationactivesupportacts_as_sphinxacts_as_versionedaddaddressadobeajaxaktagonalertalertsaliasaltamazonamazon-ecsamd64amiloanalyticsanchorandroidanemoneankusaanonftpsyncansibleantialiasedanvã¤ndarhanteringanytimeapacheapache2apiapplescriptapt-getargumentasihttprequestasset pipelineasynchronousat-least-onceat-most-onceatomattachment_fuattr_accessibleattributeattributesaudioauth_basicauthenticationauthenticityautocompleteautomationautoresizeautosizeautospecautotestautotest 100% cpu problemautowatchraverageawkawsawstatsbabelbabelifybackbackgroundbackgroundrbbackupbã¤rbar datorbashbash_profilebashrcbasicbayesianbddbeepbegrã¤nsad bandbreddbenchmarkbigbigramblankblobblueprintblueprintcssbombootstrapbotbranchbrewbrowserbrowserifybrute-forcebugbuildbuilderbulkbulk resizebulletedbundlebundle execbundlerbuttoncc3jscachecache-controlcachingcakephpcalcalculationscalculatorcalendarcallcallbackcanvascapinatracapistranocaptioncapybaracarrierwavecatcategoryccsvcellscentercenteredcertificatecertificatescgichangeschannelchardetcharsetchartchartjschartscheckboxchecklistchefchildchromecircleclassclassifierclearcasecleartoolclickclickableclientclipboardclippycli scriptingclojureclosurescloudcloudfrontcocoacoffeescriptcollapsecollationcolorcolorificcolorscolscolumnscombinecombinedcommunicationcompatibilitycompilecomponentsconditional-getconfigurableconfigurationconnectbyconsolecontent encodingcontextmenucontrollerconversionconvertconvert scriptcookiecookiescopycopy cut and pastecopy modecopy-to-clipboardcorruptcountdowncounter_cachecowboycpucrashcrawlabilitycrawlercroncronlinecsscss-spritescsvcsvscanctecubacucumbercurbcurlcurrency formattingcursorcustomcustom kernelcutcvscyclecygwind3.jsdaemondaemonizationdaemonsdailydaodatadatabasedatamapperdatedate_parsedate parserdaydbidddebdebiandebian siddebouncedebugdebuggerdebuggingdecompil