Skip to content

Instantly share code, notes, and snippets.

@salehi
Created January 13, 2015 11:58
Show Gist options
  • Save salehi/660ba9005807bd97356c to your computer and use it in GitHub Desktop.
Save salehi/660ba9005807bd97356c to your computer and use it in GitHub Desktop.
active_record error
redmine@dev:/opt/redmine/current/plugins$ cd scrum2b/
redmine@dev:/opt/redmine/current/plugins/scrum2b$ ls
app assets config db Gemfile Gemfile.lock init.rb lib README.md README.rdoc redmine_install.sh test
redmine@dev:/opt/redmine/current/plugins/scrum2b$ bundle install
Fetching gem metadata from https://rubygems.org/.........
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Installing rake 10.3.2
Installing ZenTest 4.5.0
Using i18n 0.6.11
Using multi_json 1.10.1
Installing activesupport 3.2.20
Using builder 3.0.4
Installing activemodel 3.2.20
Using erubis 2.7.0
Using journey 1.0.4
Using rack 1.4.5
Using rack-cache 1.2
Using rack-test 0.6.2
Using hike 1.2.3
Using tilt 1.4.1
Using sprockets 2.2.3
Installing actionpack 3.2.20
Installing autotest-rails 4.2.1
Using mime-types 2.4.3
Installing mini_portile 0.6.2
Using nokogiri 1.6.5
Using ffi 1.9.6
Using childprocess 0.5.5
Using rubyzip 1.1.6
Using websocket 1.2.1
Using selenium-webdriver 2.44.0
Installing xpath 0.1.4
Installing capybara 1.1.4
Installing chronic 0.10.2
Installing docile 1.1.5
Installing simplecov-html 0.8.0
Installing simplecov 0.9.1
Installing codeclimate-test-reporter 0.4.1
Installing diff-lcs 1.2.5
Using json 1.8.1
Installing gherkin 2.5.4
Installing tins 1.3.3
Installing term-ansicolor 1.3.0
Installing cucumber 1.1.0
Installing cucumber-rails2 0.3.5
Installing culerity 0.2.15
Installing daemons 1.1.9
Installing database_cleaner 1.4.0
Installing eventmachine 1.0.4
Installing websocket-extensions 0.1.1
Installing websocket-driver 0.5.1
Installing faye-websocket 0.9.2
Installing http_parser.rb 0.5.3
Installing inifile 3.0.0
Using rack-ssl 1.3.4
Using rdoc 3.12.2
Using thor 0.19.1
Installing railties 3.2.20
Installing jquery-ui-rails 5.0.2
Installing poltergeist 0.6.0
Installing rspec 1.3.1
Installing rspec-rails 1.3.3
Installing ruby-prof 0.15.2
Installing spork 0.9.2
Installing strong_parameters 0.2.2
Installing thin 1.6.3
Installing timecop 0.3.5
Using bundler 1.7.7
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from cucumber:
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
Thank you for installing cucumber-1.1.0.
Please be sure to read http://wiki.github.com/cucumber/cucumber/upgrading
for important information about this release. Happy cuking!
(::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
Post-install message from rspec:
**************************************************
Thank you for installing rspec-1.3.1
Please be sure to read History.rdoc and Upgrade.rdoc
for useful information about this release.
**************************************************
Post-install message from rspec-rails:
**************************************************
Thank you for installing rspec-rails-1.3.3
If you are upgrading, do this in each of your rails apps
that you want to upgrade:
$ ruby script/generate rspec
Please be sure to read History.rdoc and Upgrade.rdoc
for useful information about this release.
**************************************************
redmine@dev:/opt/redmine/current/plugins/scrum2b$ bundle exec rake redmine:plugins:migrate RAILS_ENV=production
(in /opt/redmine/current)
rake aborted!
NoMethodError: undefined method `active_record' for #<Rails::Application::Configuration:0x0000000196dd08>
/var/lib/gems/1.9.1/gems/railties-3.2.20/lib/rails/railtie/configuration.rb:85:in `method_missing'
/opt/redmine/current/config/application.rb:25:in `<class:Application>'
/opt/redmine/current/config/application.rb:13:in `<module:RedmineApp>'
/opt/redmine/current/config/application.rb:12:in `<top (required)>'
/opt/redmine/current/Rakefile:5:in `require'
/opt/redmine/current/Rakefile:5:in `<top (required)>'
(See full trace by running task with --trace)
redmine@dev:/opt/redmine/current/plugins/scrum2b$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment