Strange. And you´ve explicitly set the gitorious host to something else in 
gitorious.yml?  

Christian, any ideas?  

cheers,
Thomas


On Wednesday, January 16, 2013 at 3:29 PM, Jaco Theron wrote:

> Hi Thomas,
>  
> I cannot find any place where a config might still point to gitorious.local
>  
> Thank you in advance,
> Jaco T
>  
> On Wednesday, January 16, 2013 3:30:28 PM UTC+2, Jaco Theron wrote:
> > Hi Marius,
> >  
> > Thank you for the advice.  I fixed it by adding RAILS_ENV=production to the 
> > command at that time.
> >  
> > Regards,
> > Jaco T
> >  
> > On Wednesday, January 16, 2013 3:18:37 PM UTC+2, Marius Mårnes Mathiesen 
> > wrote:
> > >  
> > > Jaco Theron writes:  
> > >  
> > > > Hi Marius,  
> > > >  
> > > > Can you maybe advise me on what configuration I need to change in order 
> > > > for  
> > > > this command below to perform the production and not development?  
> > > >  
> > > >    [gitorious@mars gitorious]$ bundle exec rake db:schema:load  
> > >  
> > >  
> > > Jaco,  
> > > Sorry for falling behind on the mailing list over the last couple of  
> > > days :-/  
> > >  
> > > One thing that is *really, really important* and will *save you a lot of  
> > > time* is to use the binary stubs that ship with Gitorious, inside the  
> > > bin/ folder of your Gitorious root. These scripts will:  
> > >  
> > > - set up the correct RAILS_ENV  
> > > - make sure you're running with the correct permissions. If you're  
> > >   running the commands with another user than is defined in  
> > >   gitorious.yml it will exit with failure, unless you're running  
> > >   as root, in which case it will change to that user  
> > > - the scripts can be run regardless what your current directory is  
> > >  
> > > Now, to answer your question:  
> > >  
> > >   $GITORIOUS_ROOT/bin/rake db:schema:load  
> > >  
> > > should do the trick.  
> > >  
> > > Cheers,  
> > > - Marius  
> --  
> To post to this group, send email to [email protected] 
> (mailto:[email protected])
> To unsubscribe from this group, send email to
> [email protected] 
> (mailto:[email protected])

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to