# User\_Engine bootstrap problem

**URL:** <https://www.ruby-forum.com/t/user-engine-bootstrap-problem/60200>\
**Category:** Engines\
**Created:** [May 11, 2006, 3:29am UTC](https://www.ruby-forum.com/t/user-engine-bootstrap-problem/60200 "2006-05-11T03:29:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rake\_Bootstrap\_comm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a587f6/32.png) [@Rake\_Bootstrap\_comm](https://www.ruby-forum.com/u/Rake_Bootstrap_comm)\
**Post date:** [May 11, 2006, 3:29am UTC](https://www.ruby-forum.com/t/user-engine-bootstrap-problem/60200/1 "2006-05-11T03:29:23Z")

</div>

When installing the User\_Engine on the latest version of Rails, and  
issuing the command rake bootstrap, I get the following error.

Creating admin user ‘the login name for your administrator user’  
rake aborted!  
Couldn’t save administrator!

(See full trace by running task with --trace)

Any help will be appreciated.

Benjamin

---

<div class="post-metadata">

**Author:** ![Rake\_Bootstrap\_comm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a587f6/32.png) [@Rake\_Bootstrap\_comm](https://www.ruby-forum.com/u/Rake_Bootstrap_comm)\
**Post date:** [May 11, 2006, 10:39am UTC](https://www.ruby-forum.com/t/user-engine-bootstrap-problem/60200/2 "2006-05-11T10:39:44Z")

</div>

It looks like it’s trying to use the string “the login name for your  
administrator user” as the value for the login field. Have you made  
sure to set that value? The README should outline this stuff…

- james

On 5/11/06, Rake Bootstrap command does not work properly

---

<div class="post-metadata">

**Author:** ![Rake\_Bootstrap\_comm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a587f6/32.png) [@Rake\_Bootstrap\_comm](https://www.ruby-forum.com/u/Rake_Bootstrap_comm)\
**Post date:** [May 22, 2006, 8:22am UTC](https://www.ruby-forum.com/t/user-engine-bootstrap-problem/60200/3 "2006-05-22T08:22:47Z")

</div>

I have the similar problem, even though UserEngine module details in  
environment.rb is well changed. I still see above error.

How do we debug in detail on what exactly is wrong? in terms of  
ActiveRecord debugging

-zigs

James A. wrote:

> It looks like it’s trying to use the string “the login name for your  
> administrator user” as the value for the login field. Have you made  
> sure to set that value? The README should outline this stuff…
> 
> - james
> 
> On 5/11/06, Rake Bootstrap command does not work properly

---

<div class="post-metadata">

**Author:** ![Rake\_Bootstrap\_comm](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/a587f6/32.png) [@Rake\_Bootstrap\_comm](https://www.ruby-forum.com/u/Rake_Bootstrap_comm)\
**Post date:** [May 22, 2006, 5:57pm UTC](https://www.ruby-forum.com/t/user-engine-bootstrap-problem/60200/4 "2006-05-22T17:57:00Z")

</div>

I think I fixed the problem. Looks like its working. What I did is  
commented out admin\_login and admin\_password in UserEngine entry at  
environment.rb. So it would like something like this

module UserEngine  
#config :admin\_login, “admin”  
config :admin\_email, “removed\_email\_address@domain.invalid”  
#config :admin\_password, “adminatuserengine”  
end

and then executed “rake bootstrap” and it worked. With this what it does  
is it will create username: admin and password: testing , you can go  
change this later I guess.

-zigs

zigs wrote:

> I have the similar problem, even though UserEngine module details in  
> environment.rb is well changed. I still see above error.
> 
> How do we debug in detail on what exactly is wrong? in terms of  
> ActiveRecord debugging
> 
> -zigs
> 
> James A. wrote:
> 
> > It looks like it’s trying to use the string “the login name for your  
> > administrator user” as the value for the login field. Have you made  
> > sure to set that value? The README should outline this stuff…
> > 
> > - james
> > 
> > On 5/11/06, Rake Bootstrap command does not work properly
