Re: [Radiant] Installation: DB Bootstrap does not work
Sorry, that does not work. I changed the option in config/environment.rb to production but that does not helped. I created a new project (Sqlite3 and Mysql) and ran the following line: rake production --trace db:bootstrap But the error is still there: rake aborted! Don't know how to build task 'production' /usr/lib/ruby/1.8/rake.rb:1634:in `[]' /usr/lib/ruby/1.8/rake.rb:1930:in `invoke_task' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1909:in `each' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1903:in `top_level' /usr/lib/ruby/1.8/rake.rb:1881:in `run' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1878:in `run' /usr/bin/rake:28 What is wrong with my radiant installation and how can I fix that? Regards, --- Benjamin Weber Prethtalstraße 35 53940 Hellenthal Tel. + Fax: +49 (0) 2482 / 2099 Mobil: +49 (0) 151 / 50 50 80 20 E-Mail: be...@builtin.de Jabber + GTalk: benny1...@gmail.com Website: http://www.builtin.de Am 16.03.2009 um 02:31 schrieb Mohit Sindhwani: Benjamin Weber wrote: Hi Community around Radiant and Ruby, I just wanted to install Radiant via the Installation tutorial of the Documentation part of the website but something is wrong: $ /var/www/radiant/lch# rake --trace production db:bootstrap You'll need to do: rake production --trace db:bootstrap (The production must be first so that it know that the RAILS_ENV is production) Cheers, Mohit. 3/16/2009 | 9:31 AM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Installation: DB Bootstrap does not work
Benjamin Weber wrote: Sorry, that does not work. I changed the option in config/environment.rb to production but that does not helped. I created a new project (Sqlite3 and Mysql) and ran the following line: rake production --trace db:bootstrap But the error is still there: rake aborted! Don't know how to build task 'production' /usr/lib/ruby/1.8/rake.rb:1634:in `[]' /usr/lib/ruby/1.8/rake.rb:1930:in `invoke_task' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1909:in `each' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1903:in `top_level' /usr/lib/ruby/1.8/rake.rb:1881:in `run' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1878:in `run' /usr/bin/rake:28 What is wrong with my radiant installation and how can I fix that? Seems odd.. Hmm.. you are running this from within your radiant app's root directory? Cheers, Mohit. 3/19/2009 | 12:10 AM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Installation: DB Bootstrap does not work
Skip the production task and do rake db:bootstrap RAILS_ENV=production I haven't looked into why that task might not be working, but this is all it does. It's a convenience task. Does that help? On Mar 18, 2009, at 12:10 PM, Mohit Sindhwani wrote: Benjamin Weber wrote: Sorry, that does not work. I changed the option in config/environment.rb to production but that does not helped. I created a new project (Sqlite3 and Mysql) and ran the following line: rake production --trace db:bootstrap But the error is still there: rake aborted! Don't know how to build task 'production' /usr/lib/ruby/1.8/rake.rb:1634:in `[]' /usr/lib/ruby/1.8/rake.rb:1930:in `invoke_task' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1909:in `each' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1903:in `top_level' /usr/lib/ruby/1.8/rake.rb:1881:in `run' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1878:in `run' /usr/bin/rake:28 What is wrong with my radiant installation and how can I fix that? Seems odd.. Hmm.. you are running this from within your radiant app's root directory? Cheers, Mohit. 3/19/2009 | 12:10 AM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Installation: DB Bootstrap does not work
You're getting an error that says Don't know how to build task 'production' when you aren't even trying to use that task? On Mar 18, 2009, at 12:26 PM, Benjamin Weber wrote: Sorry, still the same error. Regards, Am 18.03.2009 um 17:25 schrieb Jim Gay: Skip the production task and do rake db:bootstrap RAILS_ENV=production I haven't looked into why that task might not be working, but this is all it does. It's a convenience task. Does that help? On Mar 18, 2009, at 12:10 PM, Mohit Sindhwani wrote: Benjamin Weber wrote: Sorry, that does not work. I changed the option in config/environment.rb to production but that does not helped. I created a new project (Sqlite3 and Mysql) and ran the following line: rake production --trace db:bootstrap But the error is still there: rake aborted! Don't know how to build task 'production' /usr/lib/ruby/1.8/rake.rb:1634:in `[]' /usr/lib/ruby/1.8/rake.rb:1930:in `invoke_task' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1909:in `each' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1903:in `top_level' /usr/lib/ruby/1.8/rake.rb:1881:in `run' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1878:in `run' /usr/bin/rake:28 What is wrong with my radiant installation and how can I fix that? Seems odd.. Hmm.. you are running this from within your radiant app's root directory? Cheers, Mohit. 3/19/2009 | 12:10 AM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
[Radiant] Installation: DB Bootstrap does not work
Hi Community around Radiant and Ruby, I just wanted to install Radiant via the Installation tutorial of the Documentation part of the website but something is wrong: $ /var/www/radiant/lch# rake --trace production db:bootstrap (in /var/www/radiant/lch) rake aborted! Don't know how to build task 'production' /usr/lib/ruby/1.8/rake.rb:1634:in `[]' /usr/lib/ruby/1.8/rake.rb:1930:in `invoke_task' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1909:in `each' /usr/lib/ruby/1.8/rake.rb:1909:in `top_level' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1903:in `top_level' /usr/lib/ruby/1.8/rake.rb:1881:in `run' /usr/lib/ruby/1.8/rake.rb:1948:in `standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1878:in `run' /usr/bin/rake:28 I tested it with sqlite3 and mysql. I adjusted the database configuration as described in the tutorial. But why the database initialization does not work? Anyone can help me to find the error in my configuration? Thanks! Best regards, Benny ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Installation: DB Bootstrap does not work
On 16/03/2009, at 6:30 AM, Benjamin Weber wrote: I just wanted to install Radiant via the Installation tutorial of the Documentation part of the website but something is wrong: $ /var/www/radiant/lch# rake --trace production db:bootstrap (in /var/www/radiant/lch) rake aborted! Hi Benny, When you run the command: are you still in the same directory where you installed Radiant? Elle ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant
Re: [Radiant] Installation: DB Bootstrap does not work
Benjamin Weber wrote: Hi Community around Radiant and Ruby, I just wanted to install Radiant via the Installation tutorial of the Documentation part of the website but something is wrong: $ /var/www/radiant/lch# rake --trace production db:bootstrap You'll need to do: rake production --trace db:bootstrap (The production must be first so that it know that the RAILS_ENV is production) Cheers, Mohit. 3/16/2009 | 9:31 AM. ___ Radiant mailing list Post: Radiant@radiantcms.org Search: http://radiantcms.org/mailing-list/search/ Site: http://lists.radiantcms.org/mailman/listinfo/radiant