centos5 - "rails -d mysql newapp" gives: undefined symbol: rb_Digest_MD5_Init -
# rails -d mysql newapp /usr/local/lib/ruby/1.8/x86_64-linux/digest/md5.so: /usr/local/lib/ruby/1.8/x86_64-linux/digest/md5.so: undefined symbol: rb_digest_md5_init - /usr/local/lib/ruby/1.8/x86_64-linux/digest/md5.so (loaderror) /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/generators/rails/app/app_generator.rb:1 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/commands/application.rb:16 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /usr/local/lib/ruby/gems/1.8/gems/railties-3.0.3/lib/rails/cli.rb:14 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /usr/local/lib/ruby/gems/1.8/gems/rails-3.0.3/bin/rails:8 /usr/local/bin/rails:19:in `load' /usr/local/bin/rails:19 [root@rapvdbs03 www]#
gives same error if take out mysql option
are using rails3?
if so, syntax creating new app mysql following:
rails new newapp -d mysql
Comments
Post a Comment