Re: [gitorious] Re: Ultrasphinx unknown task

2012-12-11 Thread Graziano Aliberti
Thank you very much. You saved my life guys :)

Il giorno lunedì 10 dicembre 2012 09:54:26 UTC+1, Peter Kjellerstedt ha 
scritto:

 This is better:

  

 10 * * * * /var/www/gitorious/bin/rake ts:rebuild /dev/null

  

 First of all it only runs the task once an hour rather than once every 
 minute.

 Second, it utilizes the scripts in /var/www/gitorious/bin/ which make sure 
 the environment is correct.

 Third, it runs ts:rebuild which has been recommended by the Gitorious 
 developers for updating the index.

  

 //Peter

  

 *From:* gito...@googlegroups.com javascript: [mailto:
 gito...@googlegroups.com javascript:] *On Behalf Of *Graziano Aliberti
 *Sent:* den 10 december 2012 09:42
 *To:* gito...@googlegroups.com javascript:
 *Subject:* [gitorious] Re: Ultrasphinx unknown task

  

 Hy guys,

 thank you very much. Now everything works fine.

 So into the git's crontab I must insert this task, right?

 * * * * * cd /var/www/gitorious  /usr/bin/bundle exec rake 
 thinking_sphinx:index RAILS_ENV=production


 Regards,

 Graziano

 Il giorno sabato 8 dicembre 2012 16:45:29 UTC+1, Kevin Lyda ha scritto:

 On Friday, December 7, 2012 4:14:40 PM UTC, Graziano Aliberti wrote:

 I'm installing Gitorious on Ubuntu Server 12.04 64 bit following the 
 guideline http://coding-journal.com/installing-gitorious-on-ubuntu-11-04/but 
 when I must run this command
 export RAILS_ENV=production  \
 bundle exec rake db:create  \
 bundle exec rake db:migrate  \
 bundle exec rake ultrasphinx:bootstrap
 (in /var/www/gitorious)
 Please install RDoc 2.4.2+ to generate documentation.
 rake aborted!
 Don't know how to build task 'ultrasphinx:bootstrap'

  

 I'm still in the process of doing my first install, but I think this is 
 due to ultrasphinx being replaced with thinking_sphinx.

  

 You'll want to run

  

 rake ts:conf

 rake ts:rebuild

  

 Kevin

 -- 
 To post to this group, send email to gito...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 gitorious+...@googlegroups.com javascript:


-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


RE: [gitorious] Re: Ultrasphinx unknown task

2012-12-10 Thread Peter Kjellerstedt
This is better:

10 * * * * /var/www/gitorious/bin/rake ts:rebuild /dev/null

First of all it only runs the task once an hour rather than once every minute.
Second, it utilizes the scripts in /var/www/gitorious/bin/ which make sure the 
environment is correct.
Third, it runs ts:rebuild which has been recommended by the Gitorious 
developers for updating the index.

//Peter

From: gitorious@googlegroups.com [mailto:gitorious@googlegroups.com] On Behalf 
Of Graziano Aliberti
Sent: den 10 december 2012 09:42
To: gitorious@googlegroups.com
Subject: [gitorious] Re: Ultrasphinx unknown task

Hy guys,

thank you very much. Now everything works fine.

So into the git's crontab I must insert this task, right?

* * * * * cd /var/www/gitorious  /usr/bin/bundle exec rake 
thinking_sphinx:index RAILS_ENV=production

Regards,

Graziano

Il giorno sabato 8 dicembre 2012 16:45:29 UTC+1, Kevin Lyda ha scritto:
On Friday, December 7, 2012 4:14:40 PM UTC, Graziano Aliberti wrote:
I'm installing Gitorious on Ubuntu Server 12.04 64 bit following the guideline 
http://coding-journal.com/installing-gitorious-on-ubuntu-11-04/ but when I must 
run this command
export RAILS_ENV=production  \
bundle exec rake db:create  \
bundle exec rake db:migrate  \
bundle exec rake ultrasphinx:bootstrap
(in /var/www/gitorious)
Please install RDoc 2.4.2+ to generate documentation.
rake aborted!
Don't know how to build task 'ultrasphinx:bootstrap'

I'm still in the process of doing my first install, but I think this is due to 
ultrasphinx being replaced with thinking_sphinx.

You'll want to run

rake ts:conf
rake ts:rebuild

Kevin
--
To post to this group, send email to 
gitorious@googlegroups.commailto:gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.commailto:gitorious+unsubscr...@googlegroups.com

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com