On 1/22/07, why the lucky stiff <[EMAIL PROTECTED]> wrote:
> To use MySQL, the .campingrc would be:
>
>  database:
>    adapter: mysql
>    database: mydb
>    username: myuser
>    password: mypw
>    host: myhost
>
> Use a postamble[1] if you want your application to work without reading
> .campingrc.  Rather than `camping myapp.rb`, use `ruby myapp.rb`.
> So then __FILE__ == $0.

Thanks, everything is a lot clearer now.
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to