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
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
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)
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
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
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.
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.
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
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
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
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
11 matches
Mail list logo