foohey@sd-29922:~/www/rails-gcp$ bundle
Fetching source index for http://rubygems.org/
Using rake (0.9.2)
Using multi_json (1.0.3)
Using activesupport (3.1.0)
Using bcrypt-ruby (3.0.1)
Using builder (3.0.0)
Using i18n (0.6.0)
Using activemodel (3.1.0)
Using erubis (2.7.0)
Using rack (1.3.5)
Using rack-cache (1.0.3)
Using rack-mount (0.8.3)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.0.3)
Using actionpack (3.1.0)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Using mail (2.3.0)
Using actionmailer (3.1.0)
Using active_utils (1.0.1)
Using braintree (2.12.0)
Using json (1.6.1)
Using money (3.7.1)
Using activemerchant (1.18.1)
Using arel (2.2.1)
Using tzinfo (0.3.30)
Using activerecord (3.1.0)
Using activeresource (3.1.0)
Using ansi (1.3.0)
Using bb-ruby (0.9.5)
Using bundler (1.0.21)
Using bzip2-ruby (0.2.7)
Using cancan (1.6.7)
Using chunky_png (1.2.5)
Using coffee-script-source (1.1.2)
Using execjs (1.2.9)
Using coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Using rdoc (3.11)
Using thor (0.14.6)
Using railties (3.1.0)
Using coffee-rails (3.1.1)
Using fssm (0.2.7)
Using sass (3.1.10)
Using compass (0.12.alpha.0)
Using country-select (1.0.5)
Using daemons (1.1.4)
Using delayed_job (2.1.4)
Using orm_adapter (0.0.5)
Using warden (1.0.6)
Using devise (1.4.9)
Using rails (3.1.0)
Using formtastic (2.0.2)
Using forum_monster (1.0.2)
Using gravtastic (3.2.6)
Using jquery-rails (1.0.16)
Using libv8 (3.3.10.2)
Using mysql2 (0.3.7)
Using net-ssh (2.2.1)
Using net-sftp (2.0.5)
Using sass-rails (3.1.4)
Installing therubyracer (0.9.8) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /home/foohey/.rvm/rubies/ruby-1.9.2-head/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers.  Check the mkmf.log file for more
details.  You may need configuration options.

Provided configuration options:
        --with-opt-dir
        --without-opt-dir
        --with-opt-include
        --without-opt-include=${opt-dir}/include
        --with-opt-lib
        --without-opt-lib=${opt-dir}/lib
        --with-make-prog
        --without-make-prog
        --srcdir=.
        --curdir
        --ruby=/home/foohey/.rvm/rubies/ruby-1.9.2-head/bin/ruby
/home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:958:in `contains_requirable_file?': undefined method `each' for "lib":String (NoMethodError)
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:442:in `block in find_by_path'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:410:in `block in each'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:409:in `each'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:409:in `each'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:441:in `find'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:441:in `find_by_path'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:203:in `try_activate'
        from <internal:gem_prelude>:218:in `try_activate'
        from <internal:lib/rubygems/custom_require>:32:in `rescue in require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from extconf.rb:4:in `<main>'


Gem files will remain installed in /home/foohey/.rvm/gems/ruby-1.9.2-head/gems/therubyracer-0.9.8 for inspection.
Results logged to /home/foohey/.rvm/gems/ruby-1.9.2-head/gems/therubyracer-0.9.8/ext/v8/gem_make.out
An error occured while installing therubyracer (0.9.8), and Bundler cannot continue.
Make sure that `gem install therubyracer -v '0.9.8'` succeeds before bundling.
foohey@sd-29922:~/www/rails-gcp$ gem install therubyracer -v '0.9.8'
/home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1392:in `lib_dirs_glob': undefined method `join' for "lib":String (NoMethodError)
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1460:in `matches_for_glob'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:481:in `block in find_files'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:410:in `block in each'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:409:in `each'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:409:in `each'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:480:in `map'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:480:in `find_files'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:1087:in `load_plugins'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:86:in `<top (required)>'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/bin/gem:9:in `<main>'
foohey@sd-29922:~/www/rails-gcp$ nano +1392 /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb
foohey@sd-29922:~/www/rails-gcp$ gem
/home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1392:in `lib_dirs_glob': undefined method `join' for "lib":String (NoMethodError)
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1460:in `matches_for_glob'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:481:in `block in find_files'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:410:in `block in each'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:409:in `each'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:409:in `each'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:480:in `map'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:480:in `find_files'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems.rb:1087:in `load_plugins'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:86:in `<top (required)>'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /home/foohey/.rvm/rubies/ruby-1.9.2-head/bin/gem:9:in `<main>'