Народ, помогите поставить redmine на slackware 13. Postgresql собран отдельно, далее:
Ставлю 1.9.2 ruby:
removepkg ruby
curl -L get.rvm.io | bash -s stable
gpasswd -a root rvm
source /etc/profile.d/rvm.sh
rvm install 1.9.2
Далее по инструкции redmine:
gem install bundler
gem install pg -- --with-pg-config=/usr/local/pgsql/bin/pg_config
bundle install --without development test rmagick sqlite
Все проходит без ошибок, однако:
root@slack:~/redmine-2.0# cat config/database.yml
production:
adapter: postgresql
database: redmine
host: 10.0.2.2
username: redmine
password: my_password
encoding: utf8
root@slack:~/redmine-2.0# rake generate_secret_token
root@slack:~/redmine-2.0# RAILS_ENV=production rake db:migrate
rake aborted!
Please install the postgresql adapter: `gem install activerecord-postgresql-adapter` (libpq.so.5: cannot open shared object file: No such file or directory - /usr/local/rvm/gems/ruby-1.9.2-p320/gems/pg-0.13.2/lib/pg_ext.so)
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
root@slack:~/redmine-2.0# ls -lh /usr/local/rvm/gems/ruby-1.9.2-p320/gems/pg-0.13.2/lib/
total 160K
drwxrwsr-x 2 root rvm 4.0K Jun 21 10:16 pg
-rw-r--r-- 1 root rvm 1.1K Jun 21 10:16 pg.rb
-rwxr-xr-x 1 root rvm 152K Jun 21 10:16 pg_ext.so
root@slack:~/redmine-2.0#
pg_ext.so на месте... pg gem собрался, а оно все-равно не заводится...