title: Error when running "bundle install" on mac - therubyracer failing to install
body: <p>I am trying to install rails for the first time on my new macbook pro running <em>OS X 10.9</em> (Mavericks) and I am running into an issue installing <em>therubyracer</em>. When I do "bundle install" I get this error:</p>
  
  <blockquote>
    <p>An error occurred while installing therubyracer (0.10.2), and Bundler cannot
    continue.
    Make sure that <code>gem install therubyracer -v '0.10.2'</code> succeeds before bundling.</p>
  </blockquote>
  
  <p>Then I follow their instructions and run </p>
  
  <p><code>gem install therubyracer -v '0.10.2'</code></p>
  
  <p>Then I get this error message:</p>
  
  <blockquote>
    <p>Building native extensions.  This could take a while...
    ERROR:  Error installing therubyracer:
        ERROR: Failed to build gem native extension.</p>
    
    <p>/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb</p>
    
    <p>checking for main() in -lobjc... yes
    creating Makefile</p>
    
    <p>make "DESTDIR="
    compiling rr.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    rr.cpp:48:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
    ^
    1 warning generated.
    compiling v8.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_array.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_callbacks.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_context.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_date.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_debug.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_exception.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    v8_exception.cpp:10:16: warning: unused variable 'stack' [-Wunused-variable]
      static void* stack[20];
                   ^
    1 warning generated.
    compiling v8_external.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    v8_external.cpp:10:9: warning: unused variable 'references' [-Wunused-variable]
      VALUE references;
            ^
    1 warning generated.
    compiling v8_function.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_handle.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_locker.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    v8_locker.cpp:45:5: warning: control reaches end of non-void function [-Wreturn-type]
        }
        ^
    v8_locker.cpp:85:5: warning: control reaches end of non-void function [-Wreturn-type]
        }
        ^
    2 warnings generated.
    compiling v8_message.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_object.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    v8_object.cpp:77:19: warning: unused variable 'proto' [-Wunused-variable]
        Handle proto(rr_rb2v8(prototype));
                      ^
    1 warning generated.
    compiling v8_script.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_string.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_template.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_try_catch.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    v8_try_catch.cpp:15:14: warning: initialization of pointer of type 'v8::TryCatch *' to null from a constant boolean expression [-Wbool-conversion]
          return false;
                 ^~~~~
    1 warning generated.
    compiling v8_v8.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    compiling v8_value.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    v8_value.cpp:100:9: warning: unused function 'ToInt32' [-Wunused-function]
      VALUE ToInt32(VALUE self) {
            ^
    1 warning generated.
    compiling v8_weakref.cpp
    clang: warning: argument unused during compilation: '-rdynamic'
    linking shared-object v8.bundle
    clang: error: no such file or directory: '/Library/Ruby/Gems/2.0.0/gems/libv8-3.3.10.4/lib/libv8/build/v8/libv8.a'
    make: <em>*</em> [v8.bundle] Error 1</p>
    
    <p>Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/therubyracer-0.10.2 for inspection.
    Results logged to /Library/Ruby/Gems/2.0.0/gems/therubyracer-0.10.2/ext/v8/gem_make.out</p>
  </blockquote>
  
  <p>I'm not really sure what this means or how to fix this.  </p>
  
  <p>All I really want to do is run my rails projects.</p>
  
  <p>Anyone know what the issue is?</p>