Now everything installed fine, I’ve got the /powerpc-darwin8.0 file,
make ran cleanly as well as install.
My ruby script goes like this:
#!/usr/bin/ruby
require ‘net/http’
require ‘mysql’
require ‘date’
…/ more stuff
Now when I run the script, I get the above mentioned error. I had been
having trouble running the install using gems so I opted for this
approach. Anybody know whats going on? Thanks.
Might be some kind of version conflict between your mysql bundle and
your mysql libs that are installed.
I installed mysql and mysql-dev using macports, then installed the mysql
gem using – --with-config=/opt/local/bin/mysql_config5 # or something
like that and it worked on my PPC.
GL!
-R
Ben A. wrote:
I get this:
LoadError: Failed to load
/usr/local/lib/ruby/site_ruby/1.8/powerpc-darwin8.0/mysql.bundle
Might be some kind of version conflict between your mysql bundle and
your mysql libs that are installed.
I installed mysql and mysql-dev using macports, then installed the mysql
gem using – --with-config=/opt/local/bin/mysql_config5 # or something
like that and it worked on my PPC.
GL!
-R
Ben A. wrote:
I get this:
LoadError: Failed to load
/usr/local/lib/ruby/site_ruby/1.8/powerpc-darwin8.0/mysql.bundle
It could be, but it’s not the most important thing in the world so I
just re-wrote everything in Python.
I had once messed around with Fink and MacPorts and ended up with like 3
copies of Ruby on my system. Because the programs themselves edit the
$PATH, they never know where to look, or they look everywhere and you
don’t know which version your running without checking every time.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.