我第一次运行" rails服务器"时遇到问题。 看看......
alvaro @ debian:〜/ rails / rc / rgcl $ rails server /usr/lib/ruby/vendor_ruby/rails/script_rails_loader.rb:11:警告:不安全的世界可写dir /home/alvaro/springsource/grails-2.2.4/bin在PATH中,模式040777 /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:211:警告:不安全的世界可写dir /home/alvaro/springsource/grails-2.2.4/bin在PATH中,模式040777 /var/lib/gems/1.9.1/gems/mysql2-0.3.17/lib/mysql2.rb:8:in
require': /opt/lampp/lib/libmysqlclient.so.18: symbol SSL_accept, version OPENSSL_1.0.1 not defined in file libssl.so.1.0.0 with link time reference - /var/lib/gems/1.9.1/gems/mysql2-0.3.17/lib/mysql2/mysql2.so (LoadError) from /var/lib/gems/1.9.1/gems/mysql2-0.3.17/lib/mysql2.rb:8:in
' 来自/usr/lib/ruby/vendor_ruby/bundler/runtime.rb:68:inrequire' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:68:in
块(2级)in require' 来自/usr/lib/ruby/vendor_ruby/bundler/runtime.rb:66:ineach' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:66:in
块中的要求' 来自/usr/lib/ruby/vendor_ruby/bundler/runtime.rb:55:ineach' from /usr/lib/ruby/vendor_ruby/bundler/runtime.rb:55:in
要求' 来自/usr/lib/ruby/vendor_ruby/bundler.rb:119:inrequire' from /home/alvaro/rails/rc/rgcl/config/application.rb:7:in
' 来自/usr/lib/ruby/vendor_ruby/rails/commands.rb:53:inrequire' from /usr/lib/ruby/vendor_ruby/rails/commands.rb:53:in
阻止' 来自/usr/lib/ruby/vendor_ruby/rails/commands.rb:50:intap' from /usr/lib/ruby/vendor_ruby/rails/commands.rb:50:in
' 来自script / rails:6:require' from script/rails:6:in
'
我不知道为什么有grails目录?以及如何使用mysql库解决错误。 PD:我需要使用mysql。
问候