Project

General

Profile

db:migrate fails: no such file to load -- openssl

Added by mrks jss about 12 years ago

hello, i used the following instruction manual <http://www.redmine.org/projects/redmine/wiki/RedmineInstall?version=146> and came as far as

4. Generate a session store secret.

following problem occurs when i'm running

RAILS_ENV=production rake db:migrate

object@redminevm:/opt/redmine-1.3.3$ sudo RAILS_ENV=production rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
no such file to load -- openssl
/opt/redmine-1.3.3/config/../vendor/rails/railties/lib/initializer.rb:271:in `require_frameworks'
/opt/redmine-1.3.3/config/../vendor/rails/railties/lib/initializer.rb:134:in `process'
/opt/redmine-1.3.3/config/../vendor/rails/railties/lib/initializer.rb:113:in `send'
/opt/redmine-1.3.3/config/../vendor/rails/railties/lib/initializer.rb:113:in `run'
/opt/redmine-1.3.3/config/environment.rb:24
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
/opt/redmine-1.3.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
/opt/redmine-1.3.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in'
/opt/redmine-1.3.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require'
/opt/redmine-1.3.3/vendor/rails/railties/lib/tasks/misc.rake:4
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `invoke_with_call_chain'
/usr/local/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33
/usr/local/bin/rake:19:in `load'
/usr/local/bin/rake:19
Tasks: TOP => db:migrate => environment
*** LOCAL GEMS ***

actionmailer (3.2.8, 2.3.14)
actionpack (3.2.8, 2.3.14)
activemodel (3.2.8)
activerecord (3.2.8, 2.3.14)
activeresource (3.2.8, 2.3.14)
activesupport (3.2.8, 2.3.14)
arel (3.0.2)
builder (3.1.4, 3.0.4)
bundler (1.2.1)
cheat (1.3.0)
daemons (1.1.9)
erubis (2.7.0)
fastthread (1.0.7)
hike (1.2.1)
hpricot (0.8.6)
i18n (0.6.1, 0.4.2)
journey (1.0.4)
json (1.7.5)
macaddr (1.6.1)
mail (2.4.4)
mime-types (1.19)
multi_json (1.3.7)
nokogiri (1.5.5)
polyglot (0.3.3)
rack (1.4.1, 1.1.2, 1.1.1, 1.1.0)
rack-cache (1.2)
rack-ssl (1.3.2)
rack-test (0.6.2)
rails (3.2.8, 2.3.14)
railties (3.2.8)
rake (0.9.2.2)
rdoc (3.12)
rmagick (2.13.1)
rubygems-update (1.8.24, 1.5.3)
sprockets (2.1.3)
sqlite3 (1.3.6)
sqlite3-ruby (1.3.3)
systemu (2.5.2)
thor (0.16.0)
tilt (1.3.3)
treetop (1.4.12)
tzinfo (0.3.35)
uuid (2.3.5)

openssl is installed

object@redminevm:/opt/redmine-1.3.3$ type openssl
openssl is /usr/bin/openssl

help needed!