Hi all,
I am a beginner developer on Rails. Unfortunately I have problems with the database connection for a week! I read many articles, but still not work properly.
The problem: If I start a new Rails app, and I type: rails app_name -d database → it still make me an adapter with sqlite3.
I use Ubunu 10.4. I installed Ruby, Gem, than Rails. I chekcked:
ruby -v → 1.8.7
gem -v → 1.3.5
rails -v → getopt: invalid option – ‘v’ (I don’t understand this one, it should be different?)
I can start mysql monitoring, so it is installed and working well.
I reinstalled rails a few time, because first I forget -include-dependencies, or sudo, but now it seems okay, and it really makes me the basic app - but not with mysql! I read much, but still cannot solve it, any help is welcome!
Thanks a lot,
gezope