Okay, I’m starting to get a headache (mostly because I refuse to give
up) and continue to try to get ruby and ruby on rails configured.
Let me explain my issues…
I’m running Windows Vista with Ruby 1.9.1 and MySql 5.0.x
It took me awhile to get this setup to work but I managed to do it. In
order to get Ruby 1.9.1 to work I had to use a ming compiled version.
In order to get mysql to work, I had to build the binary locally.
The good news is I can create a new rails project, start it, and the
“about your rails environment” shows the following:
Ruby version 1.9.1 (i386-mingw32)
RubyGems version 1.3.3
Rack version 1.0 bundled
Rails version 2.3.2
Active Record version 2.3.2
Action Pack version 2.3.2
Active Resource version 2.3.2
Action Mailer version 2.3.2
Active Support version 2.3.2
Application root D:/ncaastatpages
Database adapter mysql
Database schema version 0
So, it sees mysql, everything is golden and throws no errors. That’s
the good part.
Now the headache begins.
Issue 1: Because of the way I had to compile mysql to work and using
ruby -e to require it, there’s no gem listed. If I require ‘mysql’
everything works just like a gem is installed. However if I do gem list
it does not show up. While this is just a trivial issue (for me), it’s
a bigger issue with some IDEs like Aptana Studio which tried to install
a different mysql gem and screw up my entire setup.
Issue 2: Here are the gems I have currently (that work 100%):
All Rails Gems (2.3.2)
Notice that mysql does not show up under the list but it’s there because
ruby -e ‘require “mysql”’
With IDEs like Aptana Studio, they want to install mongrel, linefeed,
etc. but they keep installing the wrong versions that require
msvcrt-ruby18.dll instead of the msvcrt-ruby191.dll.
So, my questions are in order:
- What gems “must” I have working and operable to run a full rails
- Is there a way to tell Aptana Studio to not mess up my current rails
installation by attempting to install gems that are outdated or the
- Is there another IDE I should consider? (I tried Jedit but it felt
clunky) - I previously used Scite which didn’t give me any issues but
again, it lacked a lot of features that I might need.
- What am I missing here?
My frustrations with Ruby and RoR isn’t the programming! It’s the
installation! The programming, MVC concepts are wonderful! I’ve never
experienced (working with any programming language) where the
installation would be a 9 out of a 10 difficulty rating and the
programming would be a 2 out of 10 difficulty rating for ease of use.
I run a windows box and a virtual box with linux but I refuse to give up
on the windows end. I want to be able to program with both systems.
I’m not afraid to test the waters and go through hoops and hurdles to
get them both working 100%. My issues are that the hoops seem to be
surrounded by fire where windows is concerned.
Any help would be appreciated.