というエラーが発生。
emacs開く際に、--debug-initをつけて問題を見ると、rsense(Rubyの補完をしてくれるやつ)を入れた時に問題があったようだ。
rsenseのファイル(何だったか忘れたが、emacsのデバッグモード出て来たファイル)を開いて、defun*でサーチしたら1カ所だけヒット。
ここをコメントアウトして問題解消。
group :assets do gem 'libv8', '~> 3.3.10' gem 'therubyracer', '~> 0.10.2' end
Installing libv8 (3.16.14.1) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /ruby-1.9.3-head/bin/ruby extconf.rb creating Makefile Compiling v8 for x64 Using python 2.5.6 Using compiler: /opt/local/bin/g++ g++: error: unrecognized command line option '-Wnewline-eof'
- git push heroku master
- Counting objects: 91, done.
- Delta compression using up to 4 threads.
- Compressing objects: 100% (81/81), done.
- Writing objects: 100% (91/91), 30.37 KiB, done.
- Total 91 (delta 5), reused 0 (delta 0)
- -----> Ruby/Rails app detected
- -----> Installing dependencies using Bundler version 1.3.0.pre.2
- Running: bundle install --without development:test --path vendor/bundle --binstubs bin/ --deployment
- You are trying to install in deployment mode after changing
- your Gemfile. Run `bundle install` elsewhere and add the
- updated Gemfile.lock to version control.
- You have added to the Gemfile:
- * sqlite3
- * thin
- * pg
- !
- ! Failed to install gems via Bundler.
- !
- ! Heroku push rejected, failed to compile Ruby/rails app
- To git@heroku.com:xxxxxxxxxxxxxxxxxxx.git
- ! [remote rejected] master -> master (pre-receive hook declined)