ruby on rails - redmine deploy on heroku cedar -


I am trying to deploy Redina 2.0.3 on Heroko Cedar.

There are so many problems in deploying me with the silky gem, so I removed all sqlite references from my gemphile, removed Gemfile.lock, installed the bundle, and happily pushed my lock. .

I have myoku run rake dB: Migrate and I browse in my app () and I see the following:

UPDATE !! - & gt; When I run myoku run rake db: Migrate I get the following warning message:

  running dc db: migrate connected to terminal ... up, run 1 Dispute Alert: You have the Rails 2.3-style plugins in the Vendor / Plugins! Support for these plugins will be removed in Rail 4.0. Take them out and bundle them in your Gemfile, or keep them in your app as lip / malplugin / * and config / initializers / myplugin.rb. For more information about this, see the release notes: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released (from & amp;; left; Top (required) & gt; On / App / Rackfile: 7) Depression Warning: You have the Rails 2.3-style plugins in the vendor / plugins! Support for these plugins will be removed in Rail 4.0. Take them out and bundle them in your Gemfile, or keep them in your app as lip / malplugin / * and config / initializers / myplugin.rb. For more information about this, see the release notes: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released (top- (required) & Gt; From / App / Rackfile on: 7) plugins in the vendor / plugins (/ app / vendor / plugin) are no longer allowed Please, in the 'plugins' directory in the root of your readmein directory (/ app / plugins) Insert your redmine plug-in Application Error The application encountered an error and did not work on your page Or could be. Please try again in a few moments. If you are an application owner, check your logs for details.   

I checked the log and I see the following message:

  2012-07-12T01: 34: 47 + 00: 00 Heroko [runs 1]: Command Bundle app rake dB: Migrate 2012-07-12T01: 34: 47 + 00: 00 Process to start with Heroku [Run 1]: State 2012-07-12T01: 34: 53 + 00: 00 Heroko [Run 1]: Process 1 Position 2012-07-12T01: 34: 53 + 00: 00 Out from Heroku [Run 1]: State 2012-07-12T01 changed to Completed: 36: 03 + 00 : 00 Horoku [Router]: Error H10 (app crash) - & gt; I went through this last line without success so that's why I I am posting here, which will help someone :)  

Here is my jamfile

  source 'http://rubygems.org' gem 'rails',' 3.2 6 'gem' prototype-rail ',' 3.2.1 'gem "i18n", "~> 0.6.0" gem "coder", "~> 1.0.6" gem "sharp csv", "~ & gt ; 1.5.0 ",: platform = & gt; [: Mri_18, mingw_18, jruby] Gem "Builder" # Optional gem for LDAP authentication group: ldap do gem "net-ldap", "~> 0.3.1" End # Optional gem for OpenID authentication group: OpenAid Du Mani "Ruby-OpenID", "~> 2.1.4",: need = & gt; "OpenID" Mani "Rack-OpenID" and # Database Gems Platform: MRI, Amingav Group: Postgrecycling Mani "PG", "& gt; = 0.11.0" End And Platforms: JRUB To Mani "JRUB-OpenSL" Group: "G" "Android" and Group: Democessing Mani "rdoc", "& gt; = 2.4.2" Mani "Yard" & Group: Test Do Mani "Shoulda", "~> 2.11" PostgraScaling Mani "Activation- Jdbcpostgresql-adapter "gem" mocha "end local_gemfile = File.join (File.dirname (__ FILE__)," Gemfile.local ") if file. Axis? (Local_games file) "Loading Gemfile.local ..." if $ DEBUG # 'ruby -d' or 'bundle-v' example_evol file. Read (local_emailfile) End # Load Plugins' Gemfiles Dr. Globe File. Expand_path ("../plugins/ * / jamfile", __FILE__). File | If $ DEBUG # 'ruby -d' or 'bundle -v' instance_eval file Read (file) end    

div class = "post-text" itemprop = "text">

I was using the same problem .

The problem comes from:

It seems that the warning of new plugins is not just a warning, it exits from the app if an app / You do not have any plugins in the vendor / plugins, so it does not matter, because when you push, Heroki is adding them (in my case it was adding rails_log_stdout, rails31_enable_runtime_asset_compilation and rails3_serve_static_assets).

Now to make the easiest to decide, Config / Environment.Rbb has to comment or remove the "Exit 1" row. It seems that everything is working fine. I think this warning and exit are just some kind of hard disinfection warning, but the code can still run with these plugins.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -