Closed aalmada closed 9 years ago
Tried some more things but still getting this:
bitnami@linux:/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins$ bundle exec rake --trace redmine:plugins:migrate RAILS_ENV=production NAME=redmine_git_hosting
(in /opt/bitnami/apps/redmine/htdocs)
rake aborted!
NoMethodError: undefined method `active_record' for #<Rails::Application::Configuration:0x007f41bba28790>
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/gems/railties-4.2.3/lib/rails/railtie/configuration.rb:95:in `method_missing'
/opt/bitnami/apps/redmine/htdocs/config/application.rb:20:in `<class:Application>'
/opt/bitnami/apps/redmine/htdocs/config/application.rb:8:in `<module:RedmineApp>'
/opt/bitnami/apps/redmine/htdocs/config/application.rb:7:in `<top (required)>'
/opt/bitnami/apps/redmine/htdocs/Rakefile:5:in `require'
/opt/bitnami/apps/redmine/htdocs/Rakefile:5:in `<top (required)>'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/rake_module.rb:28:in `load_rakefile'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:689:in `raw_load_rakefile'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:94:in `block in load_rakefile'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:93:in `load_rakefile'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:77:in `block in run'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/bin/rake:23:in `load'
/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins/vendor/bundle/ruby/2.0.0/bin/rake:23:in `<main>'
LoadError: No such file to load -- will_paginate/view_helpers/action_view
What does bundle list
say? Does it containt will_paginate gem?
I forgot to mention I'm using Redmine 3.0.3 and I now noticed that there are already reported issues on redmine_bootstrap_kit related to the latest Redmine versions. Although I didn't have any problem installing redmine_bootstrap_kit.
'bundle list' returns the following:
Gems included by the bundle:
And 'gem list' returns the following:
* LOCAL GEMS *
actionmailer (4.2.3, 4.2.0) actionpack (4.2.3, 4.2.0) actionview (4.2.3, 4.2.0) activejob (4.2.3, 4.2.0) activemodel (4.2.3, 4.2.0) activerecord (4.2.3, 4.2.0) activesupport (4.2.3, 4.2.0) akami (1.2.0) arel (6.0.0) atomic (1.1.14) aws-sdk (1.8.3.1) bcrypt-ruby (3.1.1) bigdecimal (1.2.0) binding_of_caller (0.7.2) bluecloth (2.2.0) builder (3.2.2, 3.1.4) bundler (1.10.5, 1.9.6) byebug (3.5.1) charlock_holmes (0.6.9.4) coffee-rails (4.1.0) coffee-script (2.2.0) coffee-script-source (1.6.2) columnize (0.9.0) crack (0.3.1) daemon_controller (1.2.0) daemons (1.1.8) debug_inspector (0.0.2) debugger-linecache (1.2.0) diff-lcs (1.1.3) erubis (2.7.0) escape_utils (0.2.4) eventmachine (1.0.4) execjs (1.4.0) faraday (0.8.4) faraday_middleware (0.9.0) fast_stack (0.1.0) fast_xor (1.1.1) fast_xs (0.8.0) ffi (1.9.0) gherkin (2.11.1) github-markdown (0.5.3) globalid (0.3.0) gyoku (0.4.6) haml (4.0.6) haml-rails (0.9.0) hashie (1.2.0) hike (1.2.3) hiredis (0.4.5) hoe (3.0.6) hoe-bundler (1.2.0) hoe-debugging (1.0.5) hoe-gemspec (1.0.0) html2haml (2.0.0) http_parser.rb (0.5.3) httparty (0.8.3) httpauth (0.2.0) i18n (0.7.0) iconv (1.0.3) io-console (0.4.2) jbuilder (2.0.7) jenkins_api_client (1.3.0) jquery-rails (3.0.4) json (1.8.3, 1.8.1, 1.7.7) jwt (0.1.8) libv8 (3.16.14.3 x86_64-linux) loofah (2.0.2, 2.0.1) mail (2.5.4) memcache-client (1.8.5) mime-types (1.23) mini_magick (3.4) mini_portile (0.6.2, 0.6.0) minitest (5.7.0, 5.3.3, 4.3.2, 3.3.0) mixlib-shellout (2.1.0) multi_json (1.5.0, 1.3.6) multi_xml (0.5.1) multipart-post (1.1.5) mysql2 (0.3.14) nokogiri (1.6.6.2, 1.6.2.1, 1.5.9) oauth (0.4.7) oj (2.0.11) omniauth (1.1.4) passenger (5.0.6) pg (0.18.0.pre20141117110243, 0.15.1) polyglot (0.3.3) posix-spawn (0.3.6) psych (2.0.0) racc (1.4.8) rack (1.6.4, 1.6.0) rack-test (0.6.3, 0.6.2) rails (4.2.3, 4.2.0) rails-deprecated_sanitizer (1.0.3) rails-dom-testing (1.0.6, 1.0.5) rails-html-sanitizer (1.0.2, 1.0.1) railties (4.2.3, 4.2.0) rake (10.4.2, 10.1.0, 0.9.6, 0.8.7) rake-compiler (0.8.1) rdiscount (1.6.8) rdoc (4.0.0) redcarpet (3.0.0, 2.2.2) RedCloth (4.2.9) redis (3.0.4) ref (1.0.2) rexical (1.0.5) rinku (1.7.3) rmagick (2.13.1) rspec (2.11.0) rspec-core (2.11.1) rspec-expectations (2.11.2) rspec-mocks (2.11.1) ruby-hmac (0.4.0) ruby_parser (3.7.0) rvm (1.11.3.5) sass (3.2.9) sass-rails (5.0.1) sdoc (0.4.0) sexp_processor (4.6.0) simple_oauth (0.1.9) slop (3.6.0) spring (1.2.0) sprockets (2.10.0, 2.2.1) sprockets-rails (2.0.1) sqlite3 (1.3.10) sqlite3-ruby (1.3.3) subexec (0.2.2) terminal-table (1.5.1) test-unit (2.0.0.0) therubyracer (0.12.0) thin (1.5.1) thor (0.19.1, 0.18.1) thread_safe (0.3.5, 0.3.4) tilt (2.0.1, 1.4.1) treetop (1.4.14) turbolinks (1.2.0) twitter-stream (0.1.16) tzinfo (1.2.2, 1.1.0) tzinfo-data (1.2014.2) uglifier (2.1.1) uuidtools (2.1.3) web-console (2.0.0) will_paginate (3.0.7) yajl-ruby (1.1.0)
I'm seeing the same issue with Ruby 2.2.2 on CentOS 6.6 x86_64 with Redmine 3.1.
I'm seeing the same issue with Ruby 2.2.2 on CentOS 6.6 x86_64 with Redmine 3.1.
On Bitnami stack?
bitnami@linux:/opt/bitnami/apps/redmine/htdocs/plugins/redmine_jenkins$ bundle exec rake --trace redmine:plugins:migrate RAILS_ENV=production NAME=redmine_git_hosting
The command bundle exec rake...
must be executed from Redmine root directory. (/opt/bitnami/apps/redmine/htdocs
)
I followed the installation steps but the last step keeps failing. Can't figure out why.
There was an issue with Nokogiri but the following command fixed it: sudo apt-get install zlib1g-dev
I'm getting the following trace: