Error while installing Rmagick gem on Heroku - ruby-on-rails-4

I am trying to deploy Rails 4 app to heroku, but installing Rmackick gem fails.
Tried buildpacks, but lo luck.
got this error:
remote: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
remote:
remote: current directory:
remote: /tmp/build_16e2e594c459dbc294186d524bfe933a/vendor/bundle/ruby/2.3.0/gems/rmagick-2.13.2/ext/RMagick
remote: /tmp/build_16e2e594c459dbc294186d524bfe933a/vendor/ruby-2.3.0/bin/ruby -r
remote: ./siteconf20171214-20333-dbtx1i.rb extconf.rb
remote: checking for Ruby version >= 1.8.5... yes
remote: checking for gcc... yes
remote: checking for Magick-config... no
remote: Can't install RMagick 2.13.2. Can't find Magick-config in
remote: vendor/bundle/bin:vendor/bundle/ruby/2.3.0/bin:vendor/ruby-2.3.0/bin:/tmp/tmp.kJfUDQAIbQ/bin/:/usr/local/bin:/usr/bin:/bin:/tmp/codon/vendor/bin:bin:/usr/local/bin:/usr/bin:/bin
remote:
remote: *** extconf.rb failed ***
remote: Could not create Makefile due to some reason, probably lack of necessary
remote: libraries and/or headers. Check the mkmf.log file for more details. You may
remote: need configuration options.
remote:
remote: Provided configuration options:
remote: --with-opt-dir
remote: --without-opt-dir
remote: --with-opt-include
remote: --without-opt-include=${opt-dir}/include
remote: --with-opt-lib
remote: --without-opt-lib=${opt-dir}/lib
remote: --with-make-prog
remote: --without-make-prog
remote: --srcdir=.
remote: --curdir
remote: --ruby=/tmp/build_16e2e594c459dbc294186d524bfe933a/vendor/ruby-2.3.0/bin/$(RUBY_BASE_NAME)
tried:
How can I use the latest version of Imagemagick on Heroku?
https://github.com/ello/heroku-buildpack-imagemagick
https://github.com/thoughtbot/paperclip/wiki/Upgrade-Imagemagick-On-Heroku
heroku/ruby buildpack
gem 'carrierwave'
gem 'rmagick', require: 'RMagick'
gem 'fog'
used gem versions:
carrierwave (1.2.1)
rmagick (2.13.2)

updating version of rmagick fixed the issue, seems like 2.13.2 was incompatible with heroku stack. 2.16.0 - works

Related

'"ERROR: No .egg-info directory found" during deployment to heroku

Hello I'm deploying my first project on the heroku and I got an error:
ERROR: No .egg-info directory found in /tmp/pip-pip-egg-info-wgaqr45r
I have tried to update setuptools but it's not a case. Any Idea what could go wrong?
My git bash commands:
gg#DESKTOP-PNHHOHJ MINGW64 /c/projekty/tabele/tabenv (master)
$ git push heroku master
Enumerating objects: 9199, done.
Counting objects: 100% (9199/9199), done.
Delta compression using up to 4 threads
Compressing objects: 100% (5826/5826), done.
Writing objects: 100% (9199/9199), 17.71 MiB | 4.97 MiB/s, done.
Total 9199 (delta 2302), reused 9182 (delta 2296), pack-reused 0
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Building on the Heroku-20 stack
remote: -----> Python app detected
remote: cp: cannot stat '/tmp/build_8554d289/requirements.txt': No such file or directory
remote: -----> Installing python-3.8.8
remote: -----> Installing pip 20.1.1, setuptools 47.1.1 and wheel 0.34.2
remote: -----> Installing SQLite3
remote: -----> Installing requirements with pip
remote: Obtaining file:///tmp/build_8554d289 (from -r /tmp/build_8554d289/requirements.txt (line 1))
remote: ERROR: No .egg-info directory found in /tmp/pip-pip-egg-info-wgaqr45r
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: !
remote: ! ## Warning - The same version of this code has already been built: 830c4b88b9a54ed95a860492a144d53bf95172c0
remote: !
remote: ! We have detected that you have triggered a build from source code with version 830c4b88b9a54ed95a860492a144d53bf95172c0
remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch.
remote: !
remote: ! If you are developing on a branch and deploying via git you must run:
remote: !
remote: ! git push heroku <branchname>:main
remote: !
remote: ! This article goes into details on the behavior:
remote: ! https://devcenter.heroku.com/articles/duplicate-build-version
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to thawing-falls-31558.
remote:
To https://git.heroku.com/thawing-falls-31558.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/thawing-falls-31558.git'
(tabenv)
gg#DESKTOP-PNHHOHJ MINGW64 /c/projekty/tabele/tabenv (master)
$ python.exe -m pip install --upgrade setuptools pip
Requirement already satisfied: setuptools in c:\projekty\tabele\tabenv\lib\site-packages (54.0.0)
Requirement already satisfied: pip in c:\projekty\tabele\tabenv\lib\site-packages (21.0.1)
(tabenv)

error: failed to push some refs to 'https://git.heroku.com/xxxxxxxxx.git'

I got an error,error: failed to push some refs to 'https://git.heroku.com/xxxxxxxxx.git'.I want to upload my application which be made Django to heroku.I run heroku create xxxxxxxxx. And I run git push heroku ,so
Counting objects: 6951, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5952/5952), done.
Writing objects: 100% (6951/6951), 11.21 MiB | 891.00 KiB/s, done.
Total 6951 (delta 2087), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Python app detected
remote: ! The latest version of Python 3 is python-3.6.5 (you are using python-3.6.4, which is unsupported).
remote: ! We recommend upgrading by specifying the latest version (python-3.6.5).
remote: Learn More: https://devcenter.heroku.com/articles/python-runtimes
remote: -----> Installing python-3.6.4
remote: -----> Installing pip
remote: -----> Installing requirements with pip
remote: Collecting alabaster==0.7.10 (from -r /tmp/build_6adefb27873345001cb4512d3fd963e3/requirements.txt (line 1))
remote: Downloading https://files.pythonhosted.org/packages/2e/c3/9b7dcd8548cf2c00531763ba154e524af575e8f36701bacfe5bcadc67440/alabaster-0.7.10-py2.py3-none-any.whl
remote: Collecting anaconda-client==1.6.9 (from -r /tmp/build_6adefb27873345001cb4512d3fd963e3/requirements.txt (line 2))
remote: Could not find a version that satisfies the requirement anaconda-client==1.6.9 (from -r /tmp/build_6adefb27873345001cb4512d3fd963e3/requirements.txt (line 2)) (from versions: 1.1.1, 1.2.2)
remote: No matching distribution found for anaconda-client==1.6.9 (from -r /tmp/build_6adefb27873345001cb4512d3fd963e3/requirements.txt (line 2))
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to xxxxxxxxx.
remote:
To https://git.heroku.com/xxxxxxxxx.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/xxxxxxxxx.git'
I searched this error,maybe conda install pip command should be installed.So I run it and heroku create command run again, but same error happens.What is wrong?How should I fix this?
The error is telling you that it cannot install anaconda-client, because it can't find version 1.6.9 which you specified in the requirements.txt. The latest version of that library on PyPi is version 1.2.2. However, it appears to be abandoned - why have you specified it at all? What are you using it for?

heroku precompiling asserts failed: Sass::SyntaxError: Undefined variable

I develop an app based on M. Hartls tutorial. When I try to push my sample-app on heroku, the precomiling of the assets fails with the error:
Sass::SyntaxError: Undefined variable: "$gray-lighter"
In none of my files I mention a "gray-lighter".
My application.css.scss contains only:
/*
*= require_tree .
*= require_self
*/
#import "bootstrap-sprockets";
#import "bootstrap";
Has anyone an idea how I could solve this problem?
Besides the error code - do you need more information?
$ git push heroku master -f
Counting objects: 168, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (154/154), done.
Writing objects: 100% (168/168), 40.30 KiB | 0 bytes/s, done.
Total 168 (delta 32), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.2.4
remote: ###### WARNING:
remote: Removing `Gemfile.lock` because it was generated on Windows.
remote: Bundler will do a full resolve so native gems are handled properly.
remote: This may result in unexpected gem versions being used in your app.
remote: In rare occasions Bundler may not be able to resolve your dependencies at all.
remote: https://devcenter.heroku.com/articles/bundler-windows-gemfile
remote:
remote: -----> Installing dependencies using bundler 1.9.7
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4
remote: Fetching gem metadata from https://rubygems.org/...........
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Resolving dependencies....
remote: Installing i18n 0.7.0
remote: Installing rake 10.5.0
remote: Installing minitest 5.8.4
remote: Installing thread_safe 0.3.5
remote: Installing builder 3.2.2
remote: Installing erubis 2.7.0
remote: Installing mini_portile2 2.0.0
remote: Installing rack 1.6.4
remote: Installing json 1.8.3
remote: Installing mime-types 2.99
remote: Installing arel 6.0.3
remote: Installing execjs 2.6.0
remote: Using bundler 1.9.7
remote: Installing coffee-script-source 1.10.0
remote: Installing sass 3.4.21
remote: Installing thor 0.19.1
remote: Installing concurrent-ruby 1.0.0
remote: Installing multi_json 1.11.2
remote: Installing bcrypt 3.1.10
remote: Installing libv8 3.16.14.13
remote: Installing rails_serve_static_assets 0.0.5
remote: Installing rails_stdout_logging 0.0.4
remote: Installing ref 2.0.0
remote: Installing tilt 2.0.2
remote: Installing tzinfo 1.2.2
remote: Installing rack-test 0.6.3
remote: Installing pg 0.17.1
remote: Installing mail 2.6.3
remote: Installing autoprefixer-rails 6.3.1
remote: Installing puma 2.11.1
remote: Installing uglifier 2.7.2
remote: Installing coffee-script 2.4.1
remote: Installing bootstrap-sass 3.2.0.2
remote: Installing sprockets 3.5.2
remote: Installing rails_12factor 0.0.2
remote: Installing activesupport 4.2.5
remote: Installing rails-deprecated_sanitizer 1.0.3
remote: Installing globalid 0.3.6
remote: Installing activemodel 4.2.5
remote: Installing jbuilder 2.4.0
remote: Installing activejob 4.2.5
remote: Installing activerecord 4.2.5
remote: Installing nokogiri 1.6.7.2
remote: Installing rails-dom-testing 1.0.7
remote: Installing loofah 2.0.3
remote: Installing rails-html-sanitizer 1.0.3
remote: Installing actionview 4.2.5
remote: Installing actionpack 4.2.5
remote: Installing actionmailer 4.2.5
remote: Installing railties 4.2.5
remote: Installing coffee-rails 4.1.1
remote: Installing sprockets-rails 3.0.1
remote: Installing jquery-rails 4.1.0
remote: Installing turbolinks 2.5.3
remote: Installing rails 4.2.5
remote: Installing sass-rails 5.0.4
remote: Installing therubyracer 0.12.2
remote: Bundle complete! 23 Gemfile dependencies, 57 gems now installed.
remote: Gems in the groups development and test were not installed.
remote: Bundled gems are installed into ./vendor/bundle.
remote: Bundle completed (33.06s)
remote: Cleaning up the bundler cache.
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: I, [2016-02-05T18:12:00.582969 #1174] INFO -- : Writing /tmp/build_f90401fc14a7fa141740de8ac82224af/public/assets/application-5caa7ce0a1e3d41955b9f91ccab3418d4f098eee350d3d8dcd9698c5fe32ca66.js
remote: I, [2016-02-05T18:12:00.583759 #1174] INFO -- : Writing /tmp/build_f90401fc14a7fa141740de8ac82224af/public/assets/application-5caa7ce0a1e3d41955b9f91ccab3418d4f098eee350d3d8dcd9698c5fe32ca66.js.gz
remote: rake aborted!
remote: Sass::SyntaxError: Undefined variable: "$gray-lighter".
remote: (sass):73
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/script/tree/variable.rb:49:in `_perform'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/script/tree/node.rb:50:in `perform'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/script/tree/list_literal.rb:63:in `block in _perform'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/script/tree/list_literal.rb:63:in `map'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/script/tree/list_literal.rb:63:in `_perform'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/script/tree/node.rb:50:in `perform'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:395:in `visit_prop'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `block in with_base'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/stack.rb:115:in `with_frame'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `with_base'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `block (2 levels) in visit_rule'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `map'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `block in visit_rule'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:429:in `visit_rule'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `block in with_base'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/stack.rb:115:in `with_frame'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `with_base'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `block (2 levels) in visit_rule'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `map'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:431:in `block in visit_rule'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:429:in `visit_rule'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `block in with_base'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/stack.rb:115:in `with_frame'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/stack.rb:79:in `with_base'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:52:in `map'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:52:in `visit_children'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:166:in `visit_children'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `block in visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:186:in `visit_root'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:157:in `visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/visitors/perform.rb:8:in `visit'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/root_node.rb:36:in `css_tree'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/tree/root_node.rb:20:in `render'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sass-3.4.21/lib/sass/engine.rb:278:in `render'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/sass_compressor.rb:48:in `call'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/sass_compressor.rb:28:in `call'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:60:in `block in load'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:318:in `fetch_asset_from_dependency_cache'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:44:in `load'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:in `yield'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:in `load'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/base.rb:66:in `find_asset'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:142:in `block in find'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/path_utils.rb:225:in `block in stat_tree'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/path_utils.rb:209:in `block in stat_directory'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/path_utils.rb:206:in `each'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/path_utils.rb:206:in `stat_directory'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/path_utils.rb:224:in `stat_tree'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/legacy.rb:105:in `each'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/legacy.rb:105:in `block in logical_paths'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/legacy.rb:104:in `each'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/legacy.rb:104:in `logical_paths'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:140:in `find'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:168:in `compile'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-rails-3.0.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-3.5.2/lib/rake/sprocketstask.rb:147:in `with_logger'
remote: /tmp/build_f90401fc14a7fa141740de8ac82224af/vendor/bundle/ruby/2.2.0/gems/sprockets-rails-3.0.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
remote: Tasks: TOP => assets:precompile
remote: (See full trace by running task with --trace)
remote: !
remote: ! Precompiling assets failed.
remote: !
remote:
remote: ! Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to myapp-30998.
remote:
To https://git.heroku.com/myapp-30998.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/myapp-30998.git'

Deploying Python bottle app with pymssql on heroku

I'm having issues with deploying my website with pymssql onto heroku. I'm using the following build pack and still am having errors:
heroku config:add BUILDPACK_URL=https://github.com/amanjain/heroku-buildpack-python-freetds-pymssql.git
This is the error that I keep getting:
remote: warning: no files found matching 'pymssql_version.py'
remote: warning: no files found matching 'win32/freetds.zip'
remote: warning: no previously-included files matching '*' found under directory 'docs/_build'
remote: Successfully installed pymssql
remote: Cleaning up...
remote: -----> Installing dependencies with pip
remote: Downloading/unpacking bottle==0.12.9 (from -r requirements.txt (line 1))
remote: Running setup.py (path:/tmp/pip_build_u13919/bottle/setup.py) egg_info for package bottle
remote:
remote: Downloading/unpacking DateTime==4.0.1 (from -r requirements.txt (line 2))
remote: Running setup.py (path:/tmp/pip_build_u13919/DateTime/setup.py) egg_info for package DateTime
remote:
remote: Downloading/unpacking functools32==3.2.3.post2 (from -r requirements.txt (line 3))
remote: Could not find a version that satisfies the requirement functools32==3.2.3.post2 (from -r requirements.txt (line 3)) (from versions: 3.2.3-1, 3.2.3-1, 3.2.3-2, 3.2.3-2)
remote: Cleaning up...
remote: No distributions matching the version for functools32==3.2.3.post2 (from -r requirements.txt (line 3))
remote: Storing debug log for failure in /app/.pip/pip.log
remote:
remote: ! Push rejected, failed to compile Python + FreeTDS + pymssql app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to shelf2xerotest1.
remote:
To https://git.heroku.com/shelf2xerotest1.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to
'https://git.heroku.com/shelf2xerotest1.git'
Has anyone else run into this issue?
It looks like that buildpack is built for Linux systems, and it appears you're trying to install it on Windows.
In the trace log, it appears to be looking for a FreeTDS build in a win32 directory:
warning: no files found matching 'win32/freetds.zip'
It also appears to be install Python 2.7. If you're just getting started, I'd strongly recommend using Python 3. Good luck.

gitlab push failed after install Redmine in the same host

I installed gitlab(5.2) on my server(Debian Squeeze x64) for a long time, and it works well, but after I installed Redmine(2.3.3) on the same server, I can not push my git copy to server:
Git client console shows:
remote: /home/git/.rvm/gems/ruby-1.9.3-p429/gems/bundler-1.3.5/lib/bundler/dsl.rb:33:in `eval_gemfile': Gemfile syntax error: (Bundler::GemfileError)
remote: /home/git/gitlab/Gemfile:29: syntax error, unexpected ':', expecting $end
remote: gem 'gitlab-grack', '~> 1.0.0', require: 'grack'
remote: ^
remote: from /home/git/.rvm/gems/ruby-1.9.3-p429/gems/bundler-1.3.5/lib/bundler/dsl.rb:9:in `evaluate'
remote: from /home/git/.rvm/gems/ruby-1.9.3-p429/gems/bundler-1.3.5/lib/bundler/definition.rb:19:in `build'
remote: from /home/git/.rvm/gems/ruby-1.9.3-p429/gems/bundler-1.3.5/lib/bundler.rb:148:in `definition'
remote: from /home/git/.rvm/gems/ruby-1.9.3-p429/gems/bundler-1.3.5/lib/bundler.rb:116:in `setup'
remote: from /home/git/.rvm/gems/ruby-1.9.3-p429/gems/bundler-1.3.5/lib/bundler/setup.rb:17
remote: error: hook declined to update refs/heads/master
And I installed Redmine following http://www.netnerdz.se/2013/01/installing-redmine-2-1-x-2-2-x-with-ruby-1-9-3-under-debian-squeeze/
I know nothing about Ruby and Gems, so please if any one can help.
It is the ruby1.8 problem, I forgot I installed ruby1.8 from debian repository when I install redmine. I works fine after I ran "apt-get purge ruby1.8". Sorry for bother.