{"id":7366,"date":"2014-06-07T02:36:42","date_gmt":"2014-06-07T02:36:42","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/06\/07\/get-a-ton-of-errors-when-using-bundle-install-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:39:09","modified_gmt":"2022-08-30T15:39:09","slug":"get-a-ton-of-errors-when-using-bundle-install-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/06\/07\/get-a-ton-of-errors-when-using-bundle-install-collection-of-common-programming-errors\/","title":{"rendered":"Get a ton of errors when using bundle install-Collection of common programming errors"},"content":{"rendered":"<p>I am totaly new to ruby and have been using a tutorial that guided me through adding some gems to the Gemfile of my project. GEMFILE:<\/p>\n<pre><code>source 'https:\/\/rubygems.org'\n\ngem 'rails', '3.2.3'\n\n# Bundle edge Rails instead:\n# gem 'rails', :git =&gt; 'git:\/\/github.com\/rails\/rails.git'\n\ngem 'sqlite3'\n\n\n# Gems used only for assets and not required\n# in production environments by default.\ngroup :assets do\n  gem 'sass-rails',   '~&gt; 3.2.3'\n  gem 'coffee-rails', '~&gt; 3.2.1'\n\n  # See https:\/\/github.com\/sstephenson\/execjs#readme for more supported runtimes\n  # gem 'therubyracer', :platform =&gt; :ruby\n\n  gem 'uglifier', '&gt;= 1.0.3'\nend\n\ngem 'jquery-rails' \n\ngroup :test, :development do \n  gem 'turn'\n  gem 'rspec-rails'\n  gem 'capybara'\n  gem 'guard-rspec'\n  gem 'growl_notify'\n\nend\n\n# To use ActiveModel has_secure_password\n# gem 'bcrypt-ruby', '~&gt; 3.0.0'\n\n# To use Jbuilder templates for JSON\n# gem 'jbuilder'\n\n# Use unicorn as the app server\n# gem 'unicorn'\n\n# Deploy with Capistrano\n# gem 'capistrano'\n\n# To use debugger\n# gem 'ruby-debug19', :require =&gt; 'ruby-debug'\n<\/code><\/pre>\n<p>I then went on to my terminal, ran bundle install and got a bunch of errors. Like a ton so I don&#8217;t want to add them all, but I will add a few.<\/p>\n<pre><code>Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.\ncreating Makefile\n\nmake\ncompiling src\/rbae.c\nsrc\/rbae.c:13:27: error: Carbon\/Carbon.h: No such file or directory\nsrc\/rbae.c:14:43: error: CoreFoundation\/CoreFoundation.h: No such file or directory\nIn file included from src\/rbae.c:15:\nsrc\/SendThreadSafe.h:73:53: error: ApplicationServices\/ApplicationServices.h: No such file or directory\nIn file included from src\/rbae.c:15:\nsrc\/SendThreadSafe.h:125: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018SendMessageThreadSafe\u2019\nsrc\/rbae.c:24: error: expected specifier-qualifier-list before \u2018AEDesc\u2019\nsrc\/rbae.c:38: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018upp_GenericEventHandler\u2019\nsrc\/rbae.c:39: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018upp_GenericCoercionHandler\u2019\nsrc\/rbae.c:61: error: expected declaration specifiers or \u2018...\u2019 before \u2018OSErr\u2019\nsrc\/rbae.c: In function \u2018rbAE_raiseMacOSError\u2019:\nsrc\/rbae.c:66: error: \u2018number\u2019 undeclared (first use in this function)\nsrc\/rbae.c:66: error: (Each undeclared identifier is reported only once\nsrc\/rbae.c:66: error: for each function it appears in.)\nsrc\/rbae.c: At top level:\nsrc\/rbae.c:89: error: expected \u2018=\u2019, \u2018,\u2019, \u2018;\u2019, \u2018asm\u2019 or \u2018__attribute__\u2019 before \u2018rbStringToDescType\u2019\nsrc\/rbae.c:99: error: expected \u2018)\u2019 before \u2018descType\u2019\nsrc\/rbae.c: In function \u2018rbAE_freeAEDesc\u2019:\nsrc\/rbae.c:112: warning: implicit declaration of function \u2018AEDisposeDesc\u2019\nsrc\/rbae.c:112: error: \u2018struct rbAE_AEDescWrapper\u2019 has no member named \u2018desc\u2019\nsrc\/rbae.c: At top level:\nsrc\/rbae.c:117: warning: type defaults to \u2018int\u2019 in declaration of \u2018AEDesc\u2019\nsrc\/rbae.c:117: error: expected \u2018;\u2019, \u2018,\u2019 or \u2018)\u2019 before \u2018*\u2019 token\nsrc\/rbae.c:138: warning: type defaults to \u2018int\u2019 in declaration of \u2018AEDesc\u2019\nsrc\/rbae.c:138: error: expected \u2018;\u2019, \u2018,\u2019 or \u2018)\u2019 before \u2018*\u2019 token\nsrc\/rbae.c: In function \u2018rbAE_AEDesc_new\u2019:\nsrc\/rbae.c:153: error: \u2018OSErr\u2019 undeclared (first use in this function)\nsrc\/rbae.c:153: error: expected \u2018;\u2019 before \u2018err\u2019\nsrc\/rbae.c:154: error: \u2018AEDesc\u2019 undeclared (first use in this function)\nsrc\/rbae.c:154: error: expected \u2018;\u2019 before \u2018desc\u2019\nsrc\/rbae.c:157: error: \u2018err\u2019 undeclared (first use in this function)\nsrc\/rbae.c:157: warning: implicit declaration of function \u2018AECreateDesc\u2019\nsrc\/rbae.c:157: warning: implicit declaration of function \u2018rbStringToDescType\u2019\nsrc\/rbae.c:159: error: \u2018desc\u2019 undeclared (first use in this function)\nsrc\/rbae.c:160: error: \u2018noErr\u2019 undeclared (first use in this function)\nsrc\/rbae.c:160: error: too many arguments to function \u2018rbAE_raiseMacOSError\u2019\nsrc\/rbae.c:161: warning: implicit declaration of function \u2018rbAE_wrapAEDesc\u2019\nsrc\/rbae.c: In function \u2018rbAE_AEDesc_newList\u2019:\nsrc\/rbae.c:168: error: \u2018OSErr\u2019 undeclared (first use in this function)\nsrc\/rbae.c:168: error: expected \u2018;\u2019 before \u2018err\u2019\nsrc\/rbae.c:169: error: \u2018AEDesc\u2019 undeclared (first use in this function)\n<\/code><\/pre>\n<p>How can i get past these? With my limited knowledge it seems as though there are errors in the ruby files I installed&#8230; But could be way off.<\/p>\n<p>MY RAILS -V:<\/p>\n<pre><code>Rails 3.2.9\n\nruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin12.2.1]\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I am totaly new to ruby and have been using a tutorial that guided me through adding some gems to the Gemfile of my project. GEMFILE: source &#8216;https:\/\/rubygems.org&#8217; gem &#8216;rails&#8217;, &#8216;3.2.3&#8217; # Bundle edge Rails instead: # gem &#8216;rails&#8217;, :git =&gt; &#8216;git:\/\/github.com\/rails\/rails.git&#8217; gem &#8216;sqlite3&#8217; # Gems used only for assets and not required # in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,1],"tags":[],"class_list":["post-7366","post","type-post","status-publish","format-standard","hentry","category-capybara","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7366","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=7366"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7366\/revisions"}],"predecessor-version":[{"id":8748,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7366\/revisions\/8748"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}