[Rails] Re: Problems installing mysql gem in Windows Vista

2008-12-30 Thread Mohammad Ali
I think the solution suggested by - CharlesB (25 Nov) is pretty straight forward. Somehow the incomplete installation of mysql gem, doesnt has the chance to add mysql's bin directory path to windows environment variable "Path". Simply put a an additional entry there, i.e. in my case "C:\wamp\bin \

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-12-13 Thread TonyB
Hi Schalk I had the same problem with rails 2.2.2 ... ArgumentError (NULL pointer given): (eval):3:in `each_hash' (eval):3:in `all_hashes' I my case I was running MySQL 5.1.30 on a Windows environment too so I decided to switch 'back' to MySQL 5.0.67 and this worked for me. So maybe

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-12-05 Thread Ed
Update: Found this solution on ruby forum: http://www.ruby-forum.com/topic/171640 Copy the file libmysql.dll from mysql/bin to ruby/bin. It worked for me. Environment starts and app executes properly in 2.2.2 now. Still get the rdoc error when installing mysql, but it doesn't seem to affect t

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-12-05 Thread Ed
I just started struggling with the same problem as described in this thread, starting when I updated rails from 2.1.2 to 2.2.2. My apps work fine in rails 2.1.2. When I change environment.rb to 2.2.2, boom they blow up. Error message says: "The bundled mysql.rb driver has been removed from rai

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-11-28 Thread m
I'm having very similar problems. Ever since they switched to the gem only I am wasting a lot of time that should be spent developing. It's very frustrating. Here is my environment: Desktop: Windows Vista 64-bit - MySQL 64-bit server, RoR 2.2.2 Currently I am getting the "NULL point" errors

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-11-27 Thread Schalk Neethling
Hey Matthew, Sorry I cannot provide you with an answer but, I basically decided to go back to 2.0.2 as there seems to be a few shortcomings with 2.1.2 and 2.2.2. Regards, Schalk Matthew Phillips wrote: > I'm having similar problems. I also get the "NULL pointer given" error > when I try to g

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-11-27 Thread Matthew Phillips
I'm having similar problems. I also get the "NULL pointer given" error when I try to go to localhost:3000. The problem is that I'm able to log into database from the commandline. I wonder if the problem has to do with using 64-bit MySQL server... It's very frustrating that they are pushing u

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-11-26 Thread Rick
Hey Schalk, The autogenerated database.yml did get one new line (as of 2.2.0) that shows up in 2.2.2 yml files. development: adapter: mysql encoding: utf8 database: t222m_development pool: 5 username: root password: socket: /tmp/mysql.sock NOTE: pool: 5 I've deleted the line, h

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-11-25 Thread Schalk Neethling
Hey All, Executing: gem install mysql --no-ri --no-rdoc tells me that it installed one gem without any errors. However looking at the folder inside InstantRails, something seems missing. There is no lib for example. Also, a simple line like this: @content = Content.find_by_permalink('introduc

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-11-25 Thread CharlesB
I had the same exact error message when I first tried to install the mysql-2.7.3 gem. But from the error message, we clearly see that only the RDocs are not being installed. You can confirm that if you do a "gem list". If you want, you can simply do: gem install mysql --no-ri --no-rdoc It will

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-11-24 Thread Hassan Schroeder
On Mon, Nov 24, 2008 at 10:11 PM, Rick <[EMAIL PROTECTED]> wrote: > Honestly, the only limit I've found with sqlite is I haven't yet > puzzled out how to look at the tables - like with one of the dbadmin > tools. prompt% cd ~/projects/foo prompt% sqlite3 db/development.sqlite3 SQLite version 3.4

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-11-24 Thread Rick
Hey Schalk, Not to make your life more confusing than it already is but... You have three ways to go for your database, they're all supported within RoR. I've run all three in my environment but I haven't done anything with Vista. 1) sqlite3 - only need to install one gem, memory resident, goo

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-11-24 Thread Schalk Neethling
Hi there Rick, I have given up on the Rakismet plugin and will go with the Railscast solution, if it works for them it will work for me. Now my problem is getting a working MySQL gem installed to use along Rails 2.2.2 or even 2.1.2. If you or anyone else have some pointers I am all ears. BTW,

[Rails] Re: Problems installing mysql gem in Windows Vista

2008-11-23 Thread Rick
Hi Schalk, I've noticed that myself. It seems that at some point the what gemspec file got corrupted or abandoned or your guess goes here in gold. You've got maybe three options available. 1) Find a pre-built gem in whatever passes for package format on your os. 2) Build your own gemspec to a