[Rails] Re: Connect Ruby on rails to MySQL

2010-11-04 Thread Michael R.
Nik Kumar wrote in post #826714: Can anyone please give the steps(commands) how to connect ruby on rails to MySQl in fedora8. I have installed MySQL and Ruby in my system. Please specify any further installations to be done Reply will be appreciated. Set MySQL from the start $ rails -d

[Rails] Re: Connect Ruby on rails to MySQL

2009-06-19 Thread Nik Kumar
Thank u Älphä Blüë I have a doubt please clarify.. How do we know the contents of the database.yml file. does this command is the right one to use $vim /configure/database.yml -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this

[Rails] Re: Connect Ruby on rails to MySQL

2009-06-19 Thread Nik Kumar
One more thing I am getting this thing if i go for rake $rake db:migrate rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb) /usr/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2377:in `raw_load_rakefile' (See full trace by running task with --trace)

[Rails] Re: Connect Ruby on rails to MySQL

2009-06-16 Thread juanmac
Nik, Le Sa had explained you how to configure the databases.yml. Follow his instructions, but keep in mind that you would have to configure the socket (if your mySQL server have one) and maybe your mySQL host and port. For development and testing environment you should use sqlite but in

[Rails] Re: Connect Ruby on rails to MySQL

2009-06-16 Thread Älphä Blüë
Let's go back to the beginning here.. First, you said you are using redhat and you said you already have mysql installed and rails installed. In that case you just need to have the gem installed. The gem is the hard part, depending on which ruby version you are using. So, try the following

[Rails] Re: Connect Ruby on rails to MySQL

2009-06-15 Thread Nik Kumar
Mukund wrote: Install the following gems. 1) Rails 2) MySQL (try sudo gem install mysql -- --with-mysql-config=/usr/bin/ mysql-config if the normal sudo gem install mysql fails) Once both of those are successful, you can configure database.yml to point to a valid schema a try it out.

[Rails] Re: Connect Ruby on rails to MySQL

2009-06-15 Thread Nik Kumar
Le Sa wrote: Nik Kumar wrote: Can anyone please give the steps(commands) how to connect ruby on rails to MySQl in fedora8. I have installed MySQL and Ruby in my system. Please specify any further installations to be done Reply will be appreciated.

[Rails] Re: Connect Ruby on rails to MySQL

2009-06-15 Thread amit kumar
NIk, Are all these installed on your pc: *libdbd-sqlite3-ruby sqlite3 libsqlite3-dev libsqlite3-ruby* 2009/6/15 Nik Kumar rails-mailing-l...@andreas-s.net Le Sa wrote: Nik Kumar wrote: Can anyone please give the steps(commands) how to connect ruby on rails to MySQl in fedora8. I

[Rails] Re: Connect Ruby on rails to MySQL

2009-06-15 Thread Hassan Schroeder
On Mon, Jun 15, 2009 at 2:04 AM, Nik Kumarrails-mailing-l...@andreas-s.net wrote: I have tried this in my system(fedora 8) and I am getting this error [r...@xenhost]# SQLite version 3.x bash: SQLite: command not found [r...@xenhost]# gem install sqlite3-ruby Why are you doing this if you

[Rails] Re: Connect Ruby on rails to MySQL

2009-06-14 Thread Le Sa
Nik Kumar wrote: Can anyone please give the steps(commands) how to connect ruby on rails to MySQl in fedora8. I have installed MySQL and Ruby in my system. Please specify any further installations to be done Reply will be appreciated. http://www.google.com/search?q=rails+mysql I'm not

[Rails] Re: Connect Ruby on rails to MySQL

2009-06-14 Thread Mukund
Install the following gems. 1) Rails 2) MySQL (try sudo gem install mysql -- --with-mysql-config=/usr/bin/ mysql-config if the normal sudo gem install mysql fails) Once both of those are successful, you can configure database.yml to point to a valid schema a try it out. On Jun 15, 3:23 am, Nik