bellefqih med wrote:

> Hello ,
> ppl i have just start ruby on rails , and i'm very interessed in toombila
> but i'm having some trouble in installing :

> ok i have
> 1- decompress the tarball :
> 2- create a toombila_production  and toombila_database

according to my config/database.yml the 3 databases names are:

id-ruby:~/Documents/opensource-projects/toombila arie$ awk '/database/'
config/database.yml
   database: toombila_dev
   database: toombila_test
   database: toombila_prod

not toombila_production and toombila_database.

> then
> 
> /var/lib/gems/1.8/bin/rails --database mysql toombila

tips:
put your rails into your PATH by editing your .bash_profile in your home 
directory
so that you won't need to type that full path over and over anymore.

For example, this is my .bash_profile on my PowerBook (Mac OS X 10.4.10) (but 
you
should fit *your own* full path)

id-ruby:~ arie$ cat ~/.bash_profile
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
alias ll='ls -lGFHgfh'
alias ls='ls -GFH'

# ps ax |grep ruby |grep -v grep

# Setting PATH for JRuby
PATH="/usr/local/jruby-1.0.1/bin:${PATH}"
export PATH

# ruby-svn
PATH="/usr/local/ruby1.9/bin:${PATH}"
export PATH

# Setting PATH for MacPython 2.5
# The orginal version is saved in .bash_login.pysave
PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}"
export PATH

# Setting PATH for MacPort
PATH="/opt/local/bin:$PATH"
export PATH

# Setting PATH for MySql
PATH="/usr/local/mysql/bin:$PATH"
export PATH

# Setting PATH for ArieKeren's Home
# PATH="/Users/arie/usr/local/bin:$PATH"
# export PATH

# Setting apache2
PATH=/www/bin:$PATH
export PATH

clear

id-ruby:~ arie$


> inside toombila repertory
> 
>  /var/lib/gems/1.8/bin/rake    db:migrate  --trace
> 
> and then i launch it true webrick  , and http://localhost:3000 and i 
> got  rails default web page  :) ....

I checked at config/routes.rb and it looks fine, can you copy paste your
config/routes.rb so that we can take a look at that? perhaps you're using an old
version of toombila.

Its content should be:

id-ruby:~/Documents/opensource-projects/toombila arie$ awk '/content/'
config/routes.rb
   map.connect '', :controller => 'content'


> another question if i can : if i want to localize toombila app , which 
> file do i have to translate ?

you can add your language translation into the inside of config dir at the 
moment,
so for example if you want to translate it into French then you can complete the
unfinished French version in config/fr-lang.rb (j'suis timid ce bien longtemps 
que
j'parles pas français! :-D désolé), if I'm not wrong perhaps niwatori had built 
a new
localization system for this open source project when I met him in Bandung -
Indonesia.

> and thanks a lot !

S'il y a les questions plus ou bien les erreurs, nous attendons pour tes 
questions
içi, merci.

> ------------------------------------------------------------------------
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails 
> <http://www.trueswitch.com/yahoo-fr/> vers Yahoo! Mail
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Toombila-mailinglist mailing list
> [EMAIL PROTECTED]
> http://rubyforge.org/mailman/listinfo/toombila-mailinglist


-- 
$ ruby-19 -e "puts ({name:'arie', blog:'http://ariekusumaatmaja.wordpress.com',
community:%w(http://groups.yahoo.com/groups/id-ruby
http://www.linkedin.com/in/ariekeren)}).is_a?(Hash).to_s.concat(' erl ghc z')"
true erl ghc z




Kirim email ke