espen/balder — Issue #24: Unable to create database under RHEL6
Author: lzap
Created: 2011-11-12 21:20:42+00:00
State: open

yum -y install zlib zlib-devel readline readline-devel libxml2 libxml2-devel libxslt libxslt-devel sqlite sqlite-devel
adduser -m ruby
passwd ruby
su ruby
echo "install: --no-rdoc --no-ri" > ~/.gemrc
curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash
. ~/.bashrc
rvm install 1.8.7
rvm use 1.8.7 --default
gem install bundler
git clone https://github.com/espen/balder.git
cd balder
bundle install
rake db:create

[ruby@ox balder]$ rake db:create --trace
rake aborted!
no such file to load -- openssl
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/authlogic-3.0.3/lib/authlogic/crypto_providers/aes256.rb:1:in `require'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/authlogic-3.0.3/lib/authlogic/crypto_providers/aes256.rb:1
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/authlogic-3.0.3/lib/authlogic.rb:59:in `require'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/authlogic-3.0.3/lib/authlogic.rb:59
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/authlogic-3.0.3/lib/authlogic.rb:6:in `each'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/authlogic-3.0.3/lib/authlogic.rb:6
/home/ruby/.rvm/gems/ruby-1.8.7-p352@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `require'
/home/ruby/.rvm/gems/ruby-1.8.7-p352@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `require'
/home/ruby/.rvm/gems/ruby-1.8.7-p352@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `each'
/home/ruby/.rvm/gems/ruby-1.8.7-p352@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `require'
/home/ruby/.rvm/gems/ruby-1.8.7-p352@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `each'
/home/ruby/.rvm/gems/ruby-1.8.7-p352@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `require'
/home/ruby/.rvm/gems/ruby-1.8.7-p352@global/gems/bundler-1.0.21/lib/bundler.rb:122:in `require'
/home/ruby/balder/config/application.rb:7
/home/ruby/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
/home/ruby/.rvm/rubies/ruby-1.8.7-p352/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
/home/ruby/balder/Rakefile:4
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in `load_rakefile'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/rake-0.9.2/lib/rake/application.rb:495:in `raw_load_rakefile'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/rake-0.9.2/lib/rake/application.rb:78:in `load_rakefile'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/rake-0.9.2/lib/rake/application.rb:77:in `load_rakefile'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/rake-0.9.2/lib/rake/application.rb:61:in `run'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/rake-0.9.2/lib/rake/application.rb:129:in `standard_exception_handling'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/rake-0.9.2/lib/rake/application.rb:59:in `run'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/gems/rake-0.9.2/bin/rake:32
/home/ruby/.rvm/gems/ruby-1.8.7-p352/bin/rake:19:in `load'
/home/ruby/.rvm/gems/ruby-1.8.7-p352/bin/rake:19