Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. I need Install OpenProject 3.0 in Fedora 20

I need Install OpenProject 3.0 in Fedora 20

Added by Julián Tete over 11 years ago

Hello Friends,

I’m from Colombia, forgive my poor English.

Can you help me ?

I followed this manual:

http://raftaman.net/?p=1692

But I can’t install OpenProject 3.0 in Fedora 20. I get this message in http://localhost/openproject/ (I installed activerecord-mysql2-adapter with no success):

Please install the mysql2 adapter: `gem install activerecord-mysql2-adapter` (cannot load such file — mysql2/mysql2) (LoadError)
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
/usr/local/share/gems/gems/mysql2-0.3.11/lib/mysql2.rb:9:in `<top (required)>’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
/usr/local/share/gems/gems/activerecord-3.2.16/lib/active_record/connection_adapters/mysql2_adapter.rb:4:in `<top (required)>’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `block in require’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:236:in `load_dependency’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/dependencies.rb:251:in `require’
/usr/local/share/gems/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_specification.rb:50:in `resolve_hash_connection’
/usr/local/share/gems/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_specification.rb:41:in `resolve_string_connection’
/usr/local/share/gems/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_specification.rb:25:in `spec’
/usr/local/share/gems/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_specification.rb:130:in `establish_connection’
/usr/local/share/gems/gems/activerecord-3.2.16/lib/active_record/railtie.rb:88:in `block (2 levels) in class:Railtie’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/lazy_load_hooks.rb:26:in `block in on_load’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/lazy_load_hooks.rb:25:in `each’
/usr/local/share/gems/gems/activesupport-3.2.16/lib/active_support/lazy_load_hooks.rb:25:in `on_load’
/usr/local/share/gems/gems/activerecord-3.2.16/lib/active_record/railtie.rb:80:in `block in class:Railtie’
/usr/local/share/gems/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `instance_exec’
/usr/local/share/gems/gems/railties-3.2.16/lib/rails/initializable.rb:30:in `run’
/usr/local/share/gems/gems/railties-3.2.16/lib/rails/initializable.rb:55:in `block in run_initializers’
/usr/local/share/gems/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `each’
/usr/local/share/gems/gems/railties-3.2.16/lib/rails/initializable.rb:54:in `run_initializers’
/usr/local/share/gems/gems/railties-3.2.16/lib/rails/application.rb:136:in `initialize!’
/usr/local/share/gems/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in `method_missing’
/var/www/html/openproject/config/environment.rb:34:in `block in <top (required)>’
/var/www/html/openproject/config/application.rb:42:in `block in bench’
/usr/share/ruby/benchmark.rb:281:in `measure’
/var/www/html/openproject/config/application.rb:41:in `bench’
/var/www/html/openproject/config/environment.rb:32:in `<top (required)>’
config.ru:31:in `require’
config.ru:31:in `block in

’
/usr/local/share/gems/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval’
/usr/local/share/gems/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize’
config.ru:1:in `new’
config.ru:1:in `

’
/usr/local/share/gems/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:112:in `eval’
/usr/local/share/gems/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:112:in `preload_app’
/usr/local/share/gems/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:158:in `module:App’
/usr/local/share/gems/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:29:in `module:PhusionPassenger’
/usr/local/share/gems/gems/passenger-4.0.37/helper-scripts/rack-preloader.rb:28:in `

’


Replies (6)

RE: I need Install OpenProject 3.0 in Fedora 20 - Added by Christian Ratz over 11 years ago

Hi Julián,

can you plz show me the content of your ‘config/database.yml’ (remove your password and database).

Best
Ratzi

RE: I need Install OpenProject 3.0 in Fedora 20 - Added by Julián Tete over 11 years ago

Hi Ratzi, Thanks for the help!! :)

there’s my data:

#— copyright

  1. OpenProject is a project management system.
  2. Copyright © 2012-2013 the OpenProject Foundation (OPF)
    #
  3. This program is free software; you can redistribute it and/or
  4. modify it under the terms of the GNU General Public License version 3.
    #
  5. OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
  6. Copyright © 2006-2013 Jean-Philippe Lang
  7. Copyright © 2010-2013 the ChiliProject Team
    #
  8. This program is free software; you can redistribute it and/or
  9. modify it under the terms of the GNU General Public License
  10. as published by the Free Software Foundation; either version 2
  11. of the License, or (at your option) any later version.
    #
  12. This program is distributed in the hope that it will be useful,
  13. but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. GNU General Public License for more details.
    #
  16. You should have received a copy of the GNU General Public License
  17. along with this program; if not, write to the Free Software
  18. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    #
  19. See doc/COPYRIGHT.rdoc for more details.
    #
  1. MySQL (default setup).

production:
adapter: mysql2
database: openproject
host: localhost
username: openproject
password: ****
encoding: utf8

development:
adapter: mysql2
database: openproject_development
host: localhost
username: openproject
password: ****
encoding: utf8

  1. Warning: The database defined as “test” will be erased and
  2. re-generated from your development database when you run “rake”.
  3. Do not set this db to the same as development or production.
    test:
    adapter: mysql2
    database: openproject_test
    host: localhost
    username: openproject
    password: *****
    encoding: utf8

#test_pgsql:
#adapter: postgresql
#encoding: unicode
#database: openproject_test
#pool: 5
#username: openproject
#password:

#test_sqlite3:
#adapter: sqlite3
#database: db/test.sqlite3

RE: I need Install OpenProject 3.0 in Fedora 20 - Added by Christian Ratz over 11 years ago

Hi Julián,

it should not be necessary to install ‘activerecord-mysql2-adapter gem’. What’s happen if you try to install the mysql2 gem manually?

gem install mysql2 

Best
Ratzi

RE: I need Install OpenProject 3.0 in Fedora 20 - Added by Julián Tete over 11 years ago

Nothing happens :(, the error’s log it’s the same.

RE: I need Install OpenProject 3.0 in Fedora 20 - Added by Christian Ratz over 11 years ago

But the mysql2 gem was successfully installed?

RE: I need Install OpenProject 3.0 in Fedora 20 - Added by Julián Tete over 11 years ago

I get this:

gem install mysql2
Building native extensions. This could take a while…
Successfully installed mysql2-0.3.15
Parsing documentation for mysql2-0.3.15
Done installing documentation for mysql2 after 0 seconds
1 gem installed

Reboot my machine and the same history :P

  • (1 - 6/6)
Loading...