I added to my new RoR application - gem twitter bootstrap. I used CSS stylesheets
gem "twitter-bootstrap-rails"
rails generate bootstrap:install static
I changed my GEMFILE
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'uglifier', '>= 1.0.3'
gem "twitter-bootstrap-rails"
end
And when I deployed my app on Heroku, I received this log
Delta compression using up to 4 threads.
Compressing objects: 100% (59/59), done.
Writing objects: 100% (70/70), 26.75 KiB, done.
Total 70 (delta 4), reused 0 (delta 0)
-----> Ruby/Rails app detected
-----> Installing dependencies using Bundler version 1.3.0.pre.5
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Installing rake (10.0.3)
Installing i18n (0.6.1)
Installing multi_json (1.5.0)
Installing activesupport (3.2.9.rc2)
Installing builder (3.0.4)
Installing activemodel (3.2.9.rc2)
Installing erubis (2.7.0)
Installing journey (1.0.4)
Installing rack (1.4.3)
Installing rack-cache (1.2)
Installing rack-test (0.6.2)
Installing hike (1.2.1)
Installing tilt (1.3.3)
Installing sprockets (2.8.2)
Installing actionpack (3.2.9.rc2)
Installing mime-types (1.19)
Installing polyglot (0.3.3)
Installing treetop (1.4.12)
Installing mail (2.4.4)
Installing actionmailer (3.2.9.rc2)
Installing arel (3.0.2)
Installing tzinfo (0.3.35)
Installing activerecord (3.2.9.rc2)
Installing activeresource (3.2.9.rc2)
Installing coffee-script-source (1.4.0)
Installing execjs (1.4.0)
Installing coffee-script (2.2.0)
Installing rack-ssl (1.3.2)
Installing json (1.7.6)
Installing rdoc (3.12)
Installing thor (0.16.0)
Installing railties (3.2.9.rc2)
Installing coffee-rails (3.2.2)
Installing commonjs (0.2.6)
Installing jquery-rails (2.1.4)
Installing less (2.2.2)
Installing less-rails (2.2.6)
Installing libv8 (3.11.8.13)
Using bundler (1.3.0.pre.5)
Installing rails (3.2.9.rc2)
Installing ref (1.0.2)
Installing sass (3.2.5)
Installing sass-rails (3.2.5)
Installing therubyracer (0.11.2)
Installing twitter-bootstrap-rails (2.2.0)
Installing uglifier (1.3.0)
Your bundle is complete! It was installed into ./vendor/bundle
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Post-install message from twitter-bootstrap-rails:
Important: You may need to add a javascript runtime to your Gemfile in order for bootstrap's LESS files to compile to CSS.
**********************************************
ExecJS supports these runtimes:
therubyracer - Google V8 embedded within Ruby
therubyrhino - Mozilla Rhino embedded within JRuby
Node.js
Apple JavaScriptCore - Included with Mac OS X
Microsoft Windows Script Host (JScript)
**********************************************
Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
Asset precompilation completed (25.98s)
-----> Rails plugin injection
Injecting rails_log_stdout
Injecting rails3_serve_static_assets
-----> Discovering process types
Procfile declares types -> (none)
Default types for Ruby/Rails -> console, rake, web, worker
-----> Compiled slug size: 15.9MB
-----> Launching... done, v6
http://rocky-badlands-2634.herokuapp.com deployed to Heroku
When I start my app, I receive message - "We're sorry, but something went wrong."
I think maybe it's connected with this message in log
Post-install message from twitter-bootstrap-rails:
Important: You may need to add a javascript runtime to your Gemfile in order for bootstrap's LESS files to compile to CSS.
If I use the Less stylesheets I also receive this message
Rails uses SASS instead of LESS. You will have to install the less-rails gem to have LESS support.
Following the twitter-bootstrap-rails instructions you will end up with:
gem "therubyracer"
gem "less-rails"
gem "twitter-bootstrap-rails"
installed out of the assets group. This might solve your problem.
Just add this to the Gemfile
gem 'twitter-bootstrap-rails', '2.1.3'
and then do
bundle install
and then push to heroku
Related
I have a "small issue".
Trying to learn Ruby On Rails, and now i want to deploy my project on heroku.
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.5.3
-----> Installing dependencies using bundler 1.15.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.6). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Fetching gem metadata from https://rubygems.org/.............
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Fetching rake 12.3.2
Fetching concurrent-ruby 1.1.5
Fetching json 1.8.6
Installing rake 12.3.2
Installing json 1.8.6 with native extensions
Installing concurrent-ruby 1.1.5
Fetching minitest 5.11.3
Installing minitest 5.11.3
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching builder 3.2.3
Installing builder 3.2.3
Fetching erubis 2.7.0
Installing erubis 2.7.0
Fetching mini_portile2 2.4.0
Installing mini_portile2 2.4.0
Fetching crass 1.0.4
Installing crass 1.0.4
Fetching rack 1.6.11
Installing rack 1.6.11
Fetching mini_mime 1.0.1
Installing mini_mime 1.0.1
Fetching arel 6.0.4
Using bundler 1.15.2
Fetching coffee-script-source 1.12.2
Installing arel 6.0.4
Installing coffee-script-source 1.12.2
Fetching execjs 2.7.0
Installing execjs 2.7.0
Fetching thor 0.20.3
Installing thor 0.20.3
Fetching ffi 1.10.0
Fetching multi_json 1.13.1
Installing multi_json 1.13.1
Installing ffi 1.10.0 with native extensions
Fetching pg 0.17.1
Installing pg 0.17.1 with native extensions
Fetching rails_serve_static_assets 0.0.5
Installing rails_serve_static_assets 0.0.5
Fetching rails_stdout_logging 0.0.5
Installing rails_stdout_logging 0.0.5
Fetching rb-fsevent 0.10.3
Installing rb-fsevent 0.10.3
Fetching rdoc 4.3.0
Installing rdoc 4.3.0
Fetching tilt 1.4.1
Installing tilt 1.4.1
Fetching i18n 0.9.5
Installing i18n 0.9.5
Fetching tzinfo 1.2.5
Installing tzinfo 1.2.5
Fetching nokogiri 1.9.1
Installing nokogiri 1.9.1 with native extensions
Fetching rack-test 0.6.3
Installing rack-test 0.6.3
Fetching sprockets 3.7.2
Installing sprockets 3.7.2
Fetching mail 2.7.1
Installing mail 2.7.1
Fetching coffee-script 2.4.1
Installing coffee-script 2.4.1
Fetching rails_12factor 0.0.2
Installing rails_12factor 0.0.2
Fetching rb-inotify 0.9.10
Installing rb-inotify 0.9.10
Fetching activesupport 4.2.0
Installing activesupport 4.2.0
Fetching sdoc 0.4.0
Installing sdoc 0.4.0
Fetching uglifier 2.5.3
Installing uglifier 2.5.3
Fetching sass-listen 4.0.0
Installing sass-listen 4.0.0
Fetching rails-deprecated_sanitizer 1.0.3
Fetching globalid 0.4.2
Installing globalid 0.4.2
Installing rails-deprecated_sanitizer 1.0.3
Fetching activemodel 4.2.0
Fetching jbuilder 2.2.3
Installing activemodel 4.2.0
Installing jbuilder 2.2.3
Fetching sass 3.7.3
Fetching activejob 4.2.0
Installing activejob 4.2.0
Installing sass 3.7.3
Fetching activerecord 4.2.0
Installing activerecord 4.2.0
Fetching rails-dom-testing 1.0.9
Fetching loofah 2.2.3
Installing rails-dom-testing 1.0.9
Installing loofah 2.2.3
Fetching rails-html-sanitizer 1.0.4
Installing rails-html-sanitizer 1.0.4
Fetching actionview 4.2.0
Installing actionview 4.2.0
Fetching actionpack 4.2.0
Installing actionpack 4.2.0
Fetching railties 4.2.0
Fetching actionmailer 4.2.0
Fetching sprockets-rails 3.2.1
Installing sprockets-rails 3.2.1
Installing railties 4.2.0
Installing actionmailer 4.2.0
Fetching jquery-rails 4.0.3
Fetching rails 4.2.0
Fetching coffee-rails 4.1.0
Installing coffee-rails 4.1.0
Installing jquery-rails 4.0.3
Installing rails 4.2.0
Fetching sass-rails 5.0.3
Installing sass-rails 5.0.3
Fetching turbolinks 2.3.0
Installing turbolinks 2.3.0
Bundle complete! 17 Gemfile dependencies, 57 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
Post-install message from sass:
Ruby Sass is deprecated and will be unmaintained as of 26 March 2019.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
http://sass.logdown.com/posts/7081811
Bundle completed (39.08s)
Cleaning up the bundler cache.
-----> Installing node-v10.14.1-linux-x64
-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
/tmp/build_af4ee1266f205da440cd39f395d56ff3/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.0/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Fixnum is deprecated
/tmp/build_af4ee1266f205da440cd39f395d56ff3/vendor/bundle/ruby/2.5.0/gems/activesupport-4.2.0/lib/active_support/core_ext/numeric/conversions.rb:121: warning: constant ::Bignum is deprecated
rake aborted!
SystemStackError: stack level too deep
After this i have so much errors, and after them:
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app.
! Push failed
I tried to:
1.Add "config.assets.initialize_on_precompile = false" to my application.rb file.
2.Initialize RAILS_ENV=production bundle exec rake assets:precompile
3.Delete application.css (actually, this css file is blank)
But i still can't deploy.
Maybe this can help you:
Gemfile:
source 'https://rubygems.org'
gem 'rails', '4.2.0'
gem 'uglifier', '2.5.3'
gem 'coffee-rails', '4.1.0'
gem 'jquery-rails', '4.0.3'
gem 'turbolinks', '2.3.0'
gem 'jbuilder', '2.2.3'
gem 'sdoc', '0.4.0', group: :doc
group :development, :test do
gem 'sqlite3', '1.3.9'
gem 'byebug', '3.4.0'
gem 'web-console', '2.0.0.beta3'
gem 'spring', '1.1.3'
end
group :test do
gem 'minitest-reporters', '1.0.5'
gem 'mini_backtrace', '0.1.3'
gem 'guard-minitest', '2.3.1'
end
group :production do
gem 'pg', '0.17.1'
gem 'rails_12factor', '0.0.2'
end
Database.yml file (maybe problem is here, idk):
# PostgreSQL. Versions 8.2 and up are supported.
#
# Install the pg driver:
# gem install pg
# On Mac OS X with macports:
# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
# On Windows:
# gem install pg
# Choose the win32 build.
# Install PostgreSQL and put its /bin directory on your path.
#
# Configure Using Gemfile
# gem 'pg'
#
development:
adapter: postgresql
encoding: unicode
database: sample_postgres_development
pool: 5
username: sample_postgres
password:
# Connect on a TCP socket. Omitted by default since the client uses a
# domain socket that doesn't need configuration. Windows does not have
# domain sockets, so uncomment these lines.
#host: localhost
#port: 5432
# Schema search path. The server defaults to $user,public
#schema_search_path: myapp,sharedapp,public
# Minimum log levels, in increasing order:
# debug5, debug4, debug3, debug2, debug1,
# log, notice, warning, error, fatal, and panic
# The server defaults to notice.
#min_messages: warning
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test:
adapter: postgresql
encoding: unicode
database: sample_postgres_test
pool: 5
username: sample_postgres
password:
production:
adapter: postgresql
encoding: unicode
database: sample_postgres_production
pool: 5
username: sample_postgres
password:
Application.js file(actually blank):
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require turbolinks
//= require_tree .
I'm creating a new rails app in order to use it for practicing adding a front-end theme to it and makes it work, so I created a new rails application (totally new app), after that I just edited the rails app gemfile to add all the gems I added for my older projects, after that I created a new heroku repo, and tried to push my new project to heroku, but It want work and it failed, here are my gemfile and my heroku logs knowing that I'm totally newbie
my gemfile
source 'https://rubygems.org'
ruby "2.5.1"
gem 'rails', '5.1.4'
gem 'devise', '~> 4.4', '>= 4.4.3'
gem 'activeadmin', '~> 1.3' #for admin dashboard
gem "paperclip", "~> 6.0.0" #for uploading photos
gem 'bootstrap-sass', '3.3.7'
gem 'country_select'
gem 'bcrypt', '3.1.12'
gem 'faker', '1.7.3'
gem 'puma', '3.9.1'
gem 'sass-rails', '5.0.6'
gem 'uglifier', '3.2.0'
gem 'coffee-rails', '4.2.2'
gem 'jquery-rails', '4.3.1'
gem 'jbuilder', '2.7.0'
gem 'carrierwave', '~> 0.11.2'
group :development, :test do
gem 'sqlite3', '1.3.13'
gem 'byebug', '9.0.6', platform: :mri #for checking and debugging the code
gem 'awesome_print' #for awesome printing the results in the rails console
end
group :development do
gem 'web-console', '3.5.1'
gem 'listen', '3.1.5'
gem 'spring', '2.0.2'
gem 'spring-watcher-listen', '2.0.1'
end
group :test do
gem 'rails-controller-testing', '1.0.2'
gem 'minitest', '5.10.3'
gem 'minitest-reporters', '1.1.14'
gem 'guard', '2.13.0'
gem 'guard-minitest', '2.4.4'
end
group :production do
gem 'pg', '0.18.4'
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
my heroku logs
! Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
Detected buildpacks: Ruby,Node.js
See https://devcenter.heroku.com/articles/buildpacks#buildpack-detect-order
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.5.1
-----> Installing dependencies using bundler 1.15.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.2). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Fetching rake 12.3.1
Fetching concurrent-ruby 1.0.5
Fetching minitest 5.10.3
Installing rake 12.3.1
Installing minitest 5.10.3
Installing concurrent-ruby 1.0.5
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching builder 3.2.3
Installing builder 3.2.3
Fetching erubi 1.7.1
Installing erubi 1.7.1
Fetching mini_portile2 2.3.0
Fetching crass 1.0.4
Installing mini_portile2 2.3.0
Installing crass 1.0.4
Fetching rack 2.0.5
Installing rack 2.0.5
Fetching nio4r 2.3.1
Installing nio4r 2.3.1 with native extensions
Fetching websocket-extensions 0.1.3
Installing websocket-extensions 0.1.3
Fetching mini_mime 1.0.0
Installing mini_mime 1.0.0
Fetching coffee-script-source 1.12.2
Installing coffee-script-source 1.12.2
Fetching execjs 2.7.0
Installing execjs 2.7.0
Fetching method_source 0.9.0
Installing method_source 0.9.0
Fetching thor 0.20.0
Fetching formtastic_i18n 0.6.0
Installing formtastic_i18n 0.6.0
Installing thor 0.20.0
Fetching kaminari-core 1.1.1
Installing kaminari-core 1.1.1
Fetching arel 8.0.0
Installing arel 8.0.0
Fetching rb-fsevent 0.10.3
Installing rb-fsevent 0.10.3
Fetching ffi 1.9.25
Fetching bcrypt 3.1.12
Installing bcrypt 3.1.12 with native extensions
Installing ffi 1.9.25 with native extensions
Using bundler 1.15.2
Using json 2.1.0
Fetching mime-types-data 3.2016.0521
Installing mime-types-data 3.2016.0521
Fetching mimemagic 0.3.2
Installing mimemagic 0.3.2
Fetching climate_control 0.2.0
Installing climate_control 0.2.0
Fetching i18n_data 0.8.0
Installing i18n_data 0.8.0
Fetching sixarm_ruby_unaccent 1.2.0
Installing sixarm_ruby_unaccent 1.2.0
Fetching unicode_utils 1.4.0
Installing unicode_utils 1.4.0
Fetching orm_adapter 0.5.0
Installing orm_adapter 0.5.0
Fetching multi_json 1.13.1
Installing multi_json 1.13.1
Fetching pg 0.18.4
Installing pg 0.18.4 with native extensions
Fetching puma 3.9.1
Installing puma 3.9.1 with native extensions
Fetching tilt 2.0.8
Installing tilt 2.0.8
Fetching tzinfo 1.2.5
Installing tzinfo 1.2.5
Fetching i18n 0.9.5
Installing i18n 0.9.5
Fetching nokogiri 1.8.4
Installing nokogiri 1.8.4 with native extensions
Fetching websocket-driver 0.6.5
Installing websocket-driver 0.6.5 with native extensions
Fetching mail 2.7.0
Installing mail 2.7.0
Fetching coffee-script 2.4.1
Installing coffee-script 2.4.1
Fetching autoprefixer-rails 9.0.0
Installing autoprefixer-rails 9.0.0
Fetching uglifier 3.2.0
Installing uglifier 3.2.0
Fetching rack-test 1.0.0
Installing rack-test 1.0.0
Fetching sprockets 3.7.2
Installing sprockets 3.7.2
Fetching warden 1.2.7
Installing warden 1.2.7
Fetching mime-types 3.1
Installing mime-types 3.1
Fetching terrapin 0.6.0
Installing terrapin 0.6.0
Fetching sort_alphabetical 1.1.0
Installing sort_alphabetical 1.1.0
Fetching rb-inotify 0.9.10
Installing rb-inotify 0.9.10
Fetching activesupport 5.1.4
Installing activesupport 5.1.4
Fetching money 6.12.0
Installing money 6.12.0
Fetching faker 1.7.3
Installing faker 1.7.3
Fetching sass-listen 4.0.0
Installing sass-listen 4.0.0
Fetching globalid 0.4.1
Installing globalid 0.4.1
Fetching arbre 1.1.1
Installing arbre 1.1.1
Fetching activemodel 5.1.4
Installing activemodel 5.1.4
Fetching jbuilder 2.7.0
Installing jbuilder 2.7.0
Fetching countries 2.1.4
Installing countries 2.1.4
Fetching sass 3.5.7
Installing sass 3.5.7
Fetching activejob 5.1.4
Installing activejob 5.1.4
Fetching activerecord 5.1.4
Installing activerecord 5.1.4
Fetching carrierwave 0.11.2
Installing carrierwave 0.11.2
Fetching paperclip 6.0.0
Installing paperclip 6.0.0
Fetching country_select 3.1.1
Installing country_select 3.1.1
Fetching bootstrap-sass 3.3.7
Installing bootstrap-sass 3.3.7
Fetching kaminari-activerecord 1.1.1
Installing kaminari-activerecord 1.1.1
Fetching polyamorous 1.3.3
Installing polyamorous 1.3.3
Fetching rails-dom-testing 2.0.3
Fetching loofah 2.2.2
Installing rails-dom-testing 2.0.3
Installing loofah 2.2.2
Fetching rails-html-sanitizer 1.0.4
Installing rails-html-sanitizer 1.0.4
Fetching actionview 5.1.4
Installing actionview 5.1.4
Fetching actionpack 5.1.4
Fetching kaminari-actionview 1.1.1
Installing kaminari-actionview 1.1.1
Installing actionpack 5.1.4
Fetching kaminari 1.1.1
Installing kaminari 1.1.1
Fetching actionmailer 5.1.4
Fetching railties 5.1.4
Fetching actioncable 5.1.4
Installing actionmailer 5.1.4
Installing actioncable 5.1.4
Installing railties 5.1.4
Fetching formtastic 3.1.5
Installing formtastic 3.1.5
Fetching has_scope 0.7.2
Installing has_scope 0.7.2
Fetching ransack 1.8.8
Installing ransack 1.8.8
Fetching sprockets-rails 3.2.1
Installing sprockets-rails 3.2.1
Fetching responders 2.4.0
Fetching coffee-rails 4.2.2
Fetching jquery-rails 4.3.1
Installing coffee-rails 4.2.2
Installing responders 2.4.0
Fetching rails 5.1.4
Installing jquery-rails 4.3.1
Installing rails 5.1.4
Fetching sass-rails 5.0.6
Fetching inherited_resources 1.8.0
Installing sass-rails 5.0.6
Installing inherited_resources 1.8.0
Fetching devise 4.4.3
Installing devise 4.4.3
Fetching activeadmin 1.3.0
Installing activeadmin 1.3.0
Bundle complete! 29 Gemfile dependencies, 90 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
Post-install message from sass:
Ruby Sass is deprecated and will be unmaintained as of 26 March 2019.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
http://sass.logdown.com/posts/7081811
Post-install message from paperclip:
##################################################
# NOTE FOR UPGRADING FROM 4.3.0 OR EARLIER #
##################################################
Paperclip is now compatible with aws-sdk >= 2.0.0.
If you are using S3 storage, aws-sdk >= 2.0.0 requires you to make a few small
changes:
* You must set the `s3_region`
* If you are explicitly setting permissions anywhere, such as in an initializer,
note that the format of the permissions changed from using an underscore to
using a hyphen. For example, `:public_read` needs to be changed to
`public-read`.
For a walkthrough of upgrading from 4 to 5 and aws-sdk >= 2.0 you can watch
http://rubythursday.com/episodes/ruby-snack-27-upgrade-paperclip-and-aws-sdk-in-prep-for-rails-5
Bundle completed (38.06s)
Cleaning up the bundler cache.
Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.2). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
The latest bundler is 1.16.3, but you are currently running 1.15.2.
To update, run `gem install bundler`
-----> Installing node-v8.10.0-linux-x64
-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install
rake aborted!
Sprockets::FileNotFound: couldn't find file 'turbolinks' with type 'application/javascript'
Checked in these paths:
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/app/assets/config
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/app/assets/images
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/app/assets/javascripts
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/app/assets/stylesheets
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/activeadmin-1.3.0/app/assets/images
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/activeadmin-1.3.0/app/assets/javascripts
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/activeadmin-1.3.0/app/assets/stylesheets
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/activeadmin-1.3.0/vendor/assets/javascripts
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/activeadmin-1.3.0/vendor/assets/stylesheets
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/coffee-rails-4.2.2/lib/assets/javascripts
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/jquery-rails-4.3.1/vendor/assets/javascripts
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/formtastic-3.1.5/app/assets/stylesheets
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/actioncable-5.1.4/lib/assets/compiled
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/actionview-5.1.4/lib/assets/compiled
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/node_modules
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/bootstrap-sass-3.3.7/assets/stylesheets
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/bootstrap-sass-3.3.7/assets/javascripts
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/bootstrap-sass-3.3.7/assets/fonts
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/bootstrap-sass-3.3.7/assets/images
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/app/assets/javascripts/application.js:14
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/resolve.rb:65:in `resolve!'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:399:in `resolve'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:207:in `process_require_directive'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:180:in `block in process_directives'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:178:in `each'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:178:in `process_directives'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:83:in `_call'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/directive_processor.rb:68:in `call'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in `block in load'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in `load'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in `load'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/bundle.rb:23:in `block in call'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/utils.rb:200:in `dfs'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/bundle.rb:24:in `call'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in `block in load'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in `load'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in `load'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:66:in `find_asset'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:142:in `block in find'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `each'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `each'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `logical_paths'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:140:in `find'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:186:in `compile'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/rake/sprocketstask.rb:147:in `with_logger'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/tmp/build_66540dbef9a5c6fa97bf6a74441a919d/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app.
! Push failed
As this lines says:
Sprockets::FileNotFound: couldn't find file 'turbolinks' with type 'application/javascript'.
turbolinks gem is missing in your gemfile, maybe including it in your gemfile solves the issue.
I just added the gem 'bootstrap-sass', '~> 3.3.3' into my gemfile pages. I reinstall the bundle as follows (as specified):
Fetching gem metadata from https://rubygems.org/..........
Fetching version metadata from https://rubygems.org/..
Resolving dependencies...
Installing rake 10.4.2
Installing i18n 0.7.0
Installing json 1.8.2
Installing minitest 5.5.1
Installing thread_safe 0.3.4
Installing tzinfo 1.2.2
Installing activesupport 4.2.0
Installing builder 3.2.2
Installing erubis 2.7.0
Installing mini_portile 0.6.2
Installing nokogiri 1.6.6.2
Installing rails-deprecated_sanitizer 1.0.3
Installing rails-dom-testing 1.0.5
Installing loofah 2.0.1
Installing rails-html-sanitizer 1.0.1
Installing actionview 4.2.0
Installing rack 1.6.0
Installing rack-test 0.6.3
Installing actionpack 4.2.0
Installing globalid 0.3.3
Installing activejob 4.2.0
Installing mime-types 2.4.3
Installing mail 2.6.3
Installing actionmailer 4.2.0
Installing activemodel 4.2.0
Installing arel 6.0.0
Installing activerecord 4.2.0
Installing execjs 2.3.0
Installing autoprefixer-rails 5.1.7
Installing debug_inspector 0.0.2
Installing binding_of_caller 0.7.2
Installing sass 3.4.13
Installing bootstrap-sass 3.3.3
Using bundler 1.8.3
Installing columnize 0.9.0
Installing debugger-linecache 1.2.0
Installing slop 3.6.0
Installing byebug 3.5.1
Installing coffee-script-source 1.9.1
Installing coffee-script 2.3.0
Installing thor 0.19.1
Installing railties 4.2.0
Installing coffee-rails 4.1.0
Installing hike 1.2.3
Installing multi_json 1.10.1
Installing jbuilder 2.2.8
Installing jquery-rails 4.0.3
Installing tilt 1.4.1
Installing sprockets 2.12.3
Installing sprockets-rails 2.2.4
Installing rails 4.2.0
Installing rdoc 4.2.0
Installing sass-rails 5.0.1
Installing sdoc 0.4.1
Installing spring 1.3.3
Installing sqlite3 1.3.10
Installing turbolinks 2.5.3
Installing uglifier 2.7.1
Installing web-console 2.1.0
Bundle complete! 14 Gemfile dependencies, 59 gems now installed.
Gems in the group production were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
All good till here.
Then i added the code #import "bootstrap"; into my styles.css.scss file.
I restarted the server for the changes to reflect in localhost:3000
Then this happens:
rails server
Warning: Running `gem pristine --all` to regenerate your installed gemspecs (and deleting then reinstalling your bundle if you use bundle --path) will improve the startup performance of Spring.
Could not find autoprefixer-rails-5.1.7 in any of the sources
Run `bundle install` to install missing gems.
I tried running 'bundle install' but to my dismay the same error crept up again and again.
So in a jist, the server doesn't start citing "it couldn't find autoprefixer-rails-5.1.7 gem " but if you check the script above it has actually installed it.
Please help me fix this.
I ran the command bundle exec rails s. The server runs now. But it still isn't running if the command rails s is executed. It throws the same error.
I have different gemsets
> rvm gemset list
gemsets for ruby-2.0.0-p247 (found in /Users/kai/.rvm/gems/ruby-2.0.0-p247)
=> (default)
global
rails4
> rvm gemset use rails4
Using ruby-2.0.0-p247 with gemset rails4
> rails -v
/Users/kai/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:296:in `to_specs': Could not find 'railties' (>= 0) among 43 total gem(s) (Gem::LoadError)
from /Users/kai/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/dependency.rb:307:in `to_spec'
from /Users/kai/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in `gem'
from /usr/bin/rails:22:in `<main>'
from /Users/kai/.rvm/gems/ruby-2.0.0-p247#rails4/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/kai/.rvm/gems/ruby-2.0.0-p247#rails4/bin/ruby_noexec_wrapper:14:in `<main>'
and when I'm doing:
> bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Using rake (10.1.0)
Installing i18n (0.6.4)
Installing multi_json (1.7.9)
Installing activesupport (3.2.7)
Installing builder (3.0.4)
Installing activemodel (3.2.7)
Installing erubis (2.7.0)
Installing journey (1.0.4)
Installing rack (1.4.5)
Installing rack-cache (1.2)
Installing rack-test (0.6.2)
Installing hike (1.2.3)
Installing tilt (1.4.1)
Installing sprockets (2.1.3)
Installing actionpack (3.2.7)
Installing mime-types (1.23)
Installing polyglot (0.3.3)
Installing treetop (1.4.14)
Installing mail (2.4.4)
Installing actionmailer (3.2.7)
Installing arel (3.0.2)
Installing tzinfo (0.3.37)
Installing activerecord (3.2.7)
Installing activeresource (3.2.7)
Installing coffee-script-source (1.6.3)
Installing execjs (1.4.0)
Installing coffee-script (2.2.0)
Installing rack-ssl (1.3.3)
Installing json (1.8.0)
Installing rdoc (3.12.2)
Installing thor (0.18.1)
Installing railties (3.2.7)
Installing coffee-rails (3.2.2)
Installing jquery-rails (3.0.4)
Using bundler (1.3.5)
Installing rails (3.2.7)
Installing sass (3.2.10)
Installing sass-rails (3.2.6)
Installing sqlite3 (1.3.7)
Installing uglifier (2.1.2)
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
But I have ruby 2.0! Why it doesn't install rails 4.0 and activesupport 4.0?
bundler installs gems basing on two files:
Gemfile.lock strict versions saved during previous installation,
Gemfile loose version declaration from user.
when you generate rails project first Gemfile is generated with something like this:
gem 'rails', '~> 3.2'
after the file is generated bundle install is ran which generates Gemfile.lock in which strict versions of gems are recorded, from now on any succeeding call to bundle install will install only the versions saved in Gemfile.lock.
To update gems to newer versions:
check Gemfile for any version restrictions - that might prevent installing the versions you would like to get
run bundle update <gem_name> to update only this single gem and what is require for it - but minimalizing scope of the changes to the smallest possible set of changes.
run bundle update to update all gems to latest versions allowed in Gemfile
bundle install or in short bundle does not install the latest gem unless you have left out the version in your Gemfile. e.g.
gem 'rails'
But usually this is not the case, we specify versions to prevent application from "crashing" when some gems are updated and we unknowingly run bundle update, or for that matter move application to say test or production servers. Usually when adding a gem to Gemfile, we do:
gem 'rails', '~> 3.2.7'
Note the leading ~> in the version number. This says: use rails gem between versions 3.2.7 and less than 3.3.0.
In order for your bundle command to grab rails 4.0, you need to change that line to read either one of the following:
gem 'rails', '>= 3.2.7'
or
gem 'rails', '4.0.0'
If you use gem 'rails', '>= 3.2.7' then your rails application will use the latest gem available in your system. Note that 3.2.7 is just an example I'm using here. If you use gem 'rails', '4.0.0' then your rails application will use rails version 4.0.0.
Please note that this change might break your existing rails 3.2 application.
I want to develop a little Rails application and to deploy it to Heroku.
It is the second time I use Heroku but the first time I did not have problems
This time, when I tried to deploy it with this command line:
git push origin master
I had this:
Counting objects: 73, done.
Delta compression using up to 4 threads.
>Compressing objects: 100% (59/59), done.
Writing objects: 100% (73/73), 27.16 KiB, done.
Total 73 (delta 9), 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
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Installing rake (10.0.3)
Installing i18n (0.6.1)
Installing multi_json (1.5.0)
Installing activesupport (3.2.9)
Installing builder (3.0.4)
Installing activemodel (3.2.9)
Installing erubis (2.7.0)
Installing journey (1.0.4)
Installing rack (1.4.3)
Installing rack-cache (1.2)
Installing rack-test (0.6.2)
Installing hike (1.2.1)
Installing tilt (1.3.3)
Installing sprockets (2.2.2)
Installing actionpack (3.2.9)
Installing mime-types (1.19)
Installing polyglot (0.3.3)
Installing treetop (1.4.12)
Installing mail (2.4.4)
Installing actionmailer (3.2.9)
Installing arel (3.0.2)
Installing tzinfo (0.3.35)
Installing activerecord (3.2.9)
Installing activeresource (3.2.9)
Installing coffee-script-source (1.4.0)
Installing execjs (1.4.0)
Installing coffee-script (2.2.0)
Installing rack-ssl (1.3.2)
Installing json (1.7.6)
Installing rdoc (3.12)
Installing thor (0.16.0)
Installing railties (3.2.9)
Installing coffee-rails (3.2.2)
Installing daemons (1.1.9)
Installing eventmachine (1.0.0)
Installing jquery-rails (2.1.4)
Installing pg (0.14.1)
Using bundler (1.3.0.pre.2)
Installing rails (3.2.9)
Installing sass (3.2.5)
Installing sass-rails (3.2.5)
Installing thin (1.5.0)
Installing uglifier (1.3.0)
Your bundle is complete! It was installed into ./vendor/bundle
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
<= 1.8.6 : unsupported
= 1.8.7 : gem install rdoc-data; rdoc-data --install
= 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
Asset precompilation completed (11.92s)
-----> Rails plugin injection
Injecting rails_log_stdout
Injecting rails3_serve_static_assets
-----> Discovering process types
Procfile declares types -> (none)
Default types for Ruby/Rails -> console, rake, web, worker
-----> Compiled slug size: 10.1MB
-----> Launching... ! Heroku push rejected, Could not create resource with vendor, please try again later
To git#heroku.com:stage-2013.git
! [remote rejected] HEAD -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:stage-2013.git'
In .git/config I have this:
[remote "origin"]
url = git#heroku.com:stage-2013.git
fetch = +refs/heads/*:refs/remotes/origin/*
push = +HEAD:refs/heads/master
If someone have an idea, thanks for help
This sounds like a Vendor (Heroku) problem not our problem.