RAILS_ENV=production bundle exec rails runner ...
Though I'm not sure it is 100% consistent, the following command works for a single user creation:
bundle exec rails runner "User.build(username: \"fillme\", email: \"fil...@email.local\", password: \"password\", password_confirmation: \"password\").save!"
It creates a user with the username "fillme" with the email "fil...@email.local"
and the password "password".
--
You received this message because you are subscribed to the Google Groups "diaspora-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diaspora-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Though I'm not sure it is 100% consistent, the following command works for a single user creation:
bundle exec rails runner "User.build(username: \"fillme\", email: \"fi...@email.local\", password: \"password\", password_confirmation: \"password\").save!"
It creates a user with the username "fillme" with the email "fi...@email.local" and the password "password".