Newbie with Redmine
Added by Reynier Perez Mira about 16 years ago
Hi every:
I'm newbie using Redmine. Right now I start reading this page http://www.redmine.org/wiki/redmine/RedmineInstall and I'm locked running this command:
rake db:migrate RAILS_ENV="production" (in /root/redmine-0.7.3) rake aborted! no such file to load -- postgres (See full trace by running task with --trace)
I have "production" section in the /config/database.yml file configured as follow:
production: adapter: postgresql database: redmine host: localhost username: redmine password: "redmine" encoding: utf8
Can any help me here?
Replies (4)
RE: Newbie with Redmine - Added by Thomas Lecavelier about 16 years ago
have you install postgres gem?
RE: Newbie with Redmine - Added by Reynier Perez Mira about 16 years ago
I try but see what happen:
gem install postgres Building native extensions. This could take a while... ERROR: Error installing postgres: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb install postgres extconf.rb:46:in `require': no such file to load -- mkmf (LoadError) from extconf.rb:46 Gem files will remain installed in /var/lib/gems/1.8/gems/postgres-0.7.9.2008.01.28 for inspection. Results logged to /var/lib/gems/1.8/gems/postgres-0.7.9.2008.01.28/ext/gem_make.out
Why?
RE: Newbie with Redmine - Added by Eric Davis about 16 years ago
extconf.rb:46:in `require': no such file to load -- mkmf (LoadError)
You need the Ruby development libraries. Just Google this error and you will get the exact solution you need (first hit).
Eric
RE: Newbie with Redmine - Added by Reynier Perez Mira about 16 years ago
Thanks I get installed now Redmine