Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 'validate_db_name' #1

Open
hmorales opened this issue Apr 9, 2011 · 4 comments
Open

Error 'validate_db_name' #1

hmorales opened this issue Apr 9, 2011 · 4 comments

Comments

@hmorales
Copy link

hmorales commented Apr 9, 2011

Getting the validate_db_name error when trying to use the rails3-mongoid-devise-template. Apparently this is a problem with the new yaml parser (https://github.com/mongoid/mongoid/issues/648). There is a workaround but I am not sure if this is something that this template should account for?

Workaround:
Add this to environment.rb
require 'yaml'
YAML::ENGINE.yamler= 'syck'

@fortuity
Copy link
Owner

Hmm, I thought we had laid this to rest.

Tell me, what version of Ruby, Rubygems, Rails are you using?

$ ruby -v

$ gem -v

$ rails -v

@hmorales
Copy link
Author

ruby 1.9.2 (rvm)
gem 1.7.2
rails 3.0.6

@hmorales
Copy link
Author

Maybe the version of rubygem?

@olivierlacan
Copy link

Same error here:
ruby 1.9.2p180
gem 1.6.2
Rails 3.1.0.beta1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants