Re: [Radiant] not one of the allowed file types

2009-03-15 Thread Joe Van Dyk
Why not allow all content types?

On Wed, Mar 11, 2009 at 9:09 AM, Keith Bingman ke...@keithbingman.com wrote:
 I really need to change that.

 Add application/pdf to  the Radiant::Config assets.content_types list. You
 can do this with the Settings extension or in the console.

 Keith


 On Mar 11, 2009, at 4:46 PM, Anton Aylward wrote:

 Here I am with a site that uses paperclipped for asset management and I
 try uploading a PDF and get the above as an error message.

 How do I fix that?

 --
 Whenever men take the law into their own hands, the loser is the law.
 And when the law loses, freedom languishes.
  -- JFK

 ___
 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

2009-03-15 Thread Benjamin Weber

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

2009-03-15 Thread Elle Meredith


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

2009-03-15 Thread 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