espen / balder

Balder - Open source Ruby on Rails photo gallery
http://balderapp.com
MIT License
263 stars 97 forks source link

Unable to create database under RHEL6 #24

Closed lzap closed 12 years ago

lzap commented 12 years ago

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:inrequire' /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:inrequire' /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:ineach' /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:ineach' /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:inrequire' /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:inrequire' /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:inload_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:inload_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:inload_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:instandard_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:inload' /home/ruby/.rvm/gems/ruby-1.8.7-p352/bin/rake:19

lzap commented 12 years ago

Solved, openssl-devel was missing

espen commented 12 years ago

Yup. More info here: http://stackoverflow.com/questions/3464098/rails-3-no-such-file-to-load-openssl