Ruby on Rails Friday, July 2, 2010

I'm not sure if this is relevant but here goes.

You said you are running Vista 32bit (VMware Fusion) - what is running in VMWare fusion? Vista or something like VirtualRails?

I have something similar at home - run Ubuntu as my main OS, but have a full webserver VirtualBox to reduce the number of unneeded processes running (only fire up the webserver vm when actually needed). My host OS does not have rails, MySQL client/server or gem installed at all.

The Rails source is in the VM, linked to a directory on my main os by sshfs. If I need to run any ruby, rails or MySQL command, it has to be run from the web vm cli, NOT the hosts.

For example, running "script/dbconsole" in a host cli box I get all sorts of horrible error messages, but it works as intended when run from a cli from the VM.

What I think I'm saying is - if your rails dev environment is in a VM, use the resources of the VM to run Rails/MySQL tasks, not the hosts.

HTH


On 2 July 2010 19:54, DK <dk.kahn@gmail.com> wrote:
And to chime in... I have same experience that Windows is a suboptimal environment, if not only from the fact that it 90% of the advice for Rails online is referring to *nix (including mac). I would also recommend getting up a simple Ubuntu vm. I tried configuring a Windows Server 2008 recently for rails production env and it was 3 days of complete hell. I had the whole thing done on Ubuntu server in about 1/2 day. Not that I had the same issue as you with the db.

Either that or just install InstantRails for Windows and get productive.... you can always learn to do the install later.


On 2 July 2010 14:25, Marnen Laibow-Koser <lists@ruby-forum.com> wrote:
Dave Digital wrote:
[...]
> And still no luck. There is a larger issue here and not something as
> simple as passwords. I've been fighting this for weeks. My love of rails
> is turning to hate.

This is probably not a Rails issue as such, so don't start hating Rails
just yet.

More stuff to try:

* Do you have the mysql gem installed? (It looks like you do, but...)
* What version of MySQL are you running? (Some people have reported
problems with 5.1; you may want to switch to 5.0.)

If it were my development setup, though, I'd avoid both MySQL and
Windows entirely.  I don't use Windows, but my understanding is that
besides its being a pretty bad OS in general, a lot of Rails tools run
less smoothly on it than on *nix (you can use a *nix VM, though).
Likewise, MySQL is a pretty bad DB in comparison to systems like
PostgreSQL.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@marnen.org
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.


--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment