Hello, I am doing a local installation of Gitorious I just cloned the git repo from gitorious.org and I am running into an issue creating users. I tried to create an admin account using the script/create_admin script but it said the user wasn't create so I ran the same steps but in the console.
r...@vallekas:/opt/gitorious# RAILS_ENV=production script/console Loading peoduction environment (Rails 2.3.2) /opt/gitorious/config/environment.rb:98: warning: already initialized constant CA_FILE >> admin = User.new :password => 'dummypasswd', :password_confirmation => >> 'dummypassword', :email => '[email protected]' => #<User id: nil, login: nil, email: "[email protected]", crypted_password: nil, salt: nil, created_at: nil, updated_at: nil, remember_token: nil, remember_token_expires_at: nil, activation_code: nil, activated_at: nil, ssh_key_id: nil, fullname: nil, url: nil, identity_url: nil, is_admin: false, suspended_at: nil, aasm_state: "pending", public_email: true, wants_email_notifications: true, password_key: nil, avatar_file_name: nil, avatar_content_type: nil, avatar_file_size: nil, avatar_updated_at: nil> >> admin.login = 'admin' => "admin" >> admin.is_admin = 'true' => "true" >> admin.save => false >> User.all => [] >> quit As you can see I don't get any error, just a false return from the User.save. Has anyone encountered a similar issue? Telmo. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Gitorious" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/gitorious?hl=en -~----------~----~----~----~------~----~------~--~---
