Displaying 20 results from an estimated 3000 matches similar to: "db connection problem: Mac X, MySQL 5, Rails 1"
2006 Feb 23
6
lighttpd on mac for local development
I''m having trouble installing lighttpd for local development on Mac OS X Tiger.
Here are the commands I''ve run:
sudo port install fcgi
sudo port install lighttpd
Here''s a snippet from running "port installed" with several ports
removed for brevity:
fcgi @2.4.0_1 (active)
lighttpd @1.4.9_0 (active)
rb-rubygems @0.8.11_0 (active)
readline @5.0.005_0+darwin_8
2005 Jun 24
9
new mysql gem
Hi everyone,
For those who have/had problems with Webrick not properly closing MySQL
connections, there is a new MySQL gem. (Actually the version was
released some time ago, just nobody took the time to make a gem)
So run "gem update" or just "gem install mysql" to update (not sure if
the latter also updates).
Special thanks to Tobias Luetke, who forwarded the gem to Chad
2006 Jul 16
29
Problem installing on Mac OSX
I tried the instruction tutorial on
http://maczealots.com/tutorials/ruby-on-rails/
and in the middle of trying to install fixrbconfig I got an error:
usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h does not exist. This probably
means you haven''t yet installed Xcode from the Tiger DVD. You won''t be
able to compile Ruby extensions without it. Please install it then rerun
this
2006 Mar 23
5
[OT] building fastcgi
Following the instructions on Hivelogic, everything works flawlessly on my
Powerbook until I do the ''sudo gem install fcgi.
I''m getting no-definition errors all over the place. Any thoughts how to
resolve this?
Example of errors:
No definition for fcgi_s_accept
No definition for fcgi_s_each
No definition for fcgi_s_each
No definition for fcgi_s_iscgi
--
View this message in
2006 Jun 09
8
Installation on OSX...
Hi,
Just got my first Mac. I''m trying to install rails on it, using the
instructions in the rails wiki:
http://wiki.rubyonrails.com/rails/pages/HowtoInstallOnOSXTigerUsingDarwinPorts
I go to install mysql, and the version of mysql supported by
DarwinPorts appears to be 4.1.18. But all the sites appear to only
have 4.1.19 or 4.1.20. So it looks like DarwinPorts is over a month
out
2005 Jul 20
5
Can't connect to MySQL on another machine
hi everyone
I''ve got two machines here: a Powerbook and a Linux box running MySQL.
The MySQL user privileges seem to be configured properly, e.g. I can
connect to a database using "mysql" from the Powerbook, alter the
tables etc without any problems.
However, I can''t get Rails to connect to the same database. (just a
simple app with one model called "Test"
2006 Feb 01
5
lighttpd not starting on os X (intel)
Hi all,
I''m followed the instructions written here to prepare my new iMac for
Ruby / Rails developement:
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
When I run script/server I get the following output:
harm-de-laats-computer:~/rails/test harmdelaat$ script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
=>
2006 May 10
10
Can''t Install Rails with Ruby Gem Dependencies, OS X
Hello Community:
I''m a brand new user of Ruby on Rails, and am having a great deal of
trouble compiling from source. I''m using the tutorial at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
to complete the install.
Readline and Ruby installed just fine, and the Ruby Gems appeared to.
But when I tried to sudo gem install Rails --include-dependencies,
2006 Apr 06
2
Apache 1.3 OSX Tiger(intel) mod_fastcgi
Hi,
I''m new to RoR and am trying to get it up and running on my iMac Tiger
(intel).
I was able to get it working with the built in server and am now trying to
get it working with apache 1.3
I''m stuck on getting a universal binary for mod_fastcgi.so. or source code
to compile it myself.
Has anyone been able to get RoR to run successfully with this configuration?
2006 Mar 10
3
Problems installing rubygems -No such file to load: rubygems
Hi,
I''m a bit of a beginner at this and I''m having some problems with
installation, hopefully someone can help.
I''m following the guide for setting up under Mac OS X at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
. I follow the tutorial all the way through without any errors but when
it comes to the MySQL Native Bindings step I get an
2006 Jan 19
3
lighttpd config on os x
I finally got around to installing lighttpd on my mac for dev work,
followed the instructions at
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
When I go into my rails app and type "./script/server" I get the
following errors:
baggio:~/work/teore pergesu$ ./script/server
=> Booting lighttpd (use ''script/server webrick'' to force WEBrick)
2006 Apr 04
6
Replaced Rails Package with HiveLogic Install - problems
Hi,
I''ve got a strange problem. I had initially installed Rails using Tony
Arnold''s package:
<http://www.tonyarnold.com/articles/category/rails>
and that worked fine. (on OS X, obviously). I then decided to
reinstall using the instructions on the HiveLogic page, to get Ruby
1.8.4:
<http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger>
That
2006 Nov 04
11
[OT] What''s the best way to install ruby/rails on Mac OS X?
Hello folks,
I''ve newly bought a Mac and am new to it. I want to install Ruby on
Rails on it (Ruby, Rails, SVN, Apache, MySQL, ...) but I''m not sure
which way is the best.
Should I go for Fink? OpenDarwin? Or just install them directly on mac.
What about something in Fink, something in OpenDarwin and something directly?
I''m a bit confused, may you please give me a
2006 Mar 18
24
rails is extremely hard to install
I''m on Mac OSX and I''m about to rip my hair out over how hard it is to
install rails. I''ve installed rubygems and am typing "ruby setup.rb" in
the command line and get "No such file or directory."
I''ve never had to use command lines before so this is alien to me. Can''t
they just make installation GUI-based for non-geeks like
2006 Jun 18
2
Installation on Mac Problem
I''m not exactly sure what the root of this problem is. I followed the
following tutuorial on installing Ruby on Rails on Mac OS X:
http://www.hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
Everything is working fine but when I navigate to :
http://localhost:3000/ or go to any other pages that I''m attempting to
serve with RoR I get the following errors in
2006 Jan 14
5
New problem with Mac OS X + rails + mysql. Please help!
All,
I am working through the ''depot'' sample application from the
"Pragmatic Programmers" book on my
powerbook. I was going through the install process on
http://hivelogic.com/articles/2005/12/01/
ruby_rails_lighttpd_mysql_tiger and it seemed to work fine.
But when I try to create the first table, I get the following error,
and I have no idea what this means.
Any
2006 Jun 17
4
ruby script/console fails to launch
Can someone please explain why I am see the following:
<snip>
rails/uploadimage> ruby script/console
Loading development environment.
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require'': no such file
to load -- readline (LoadError)
from /usr/local/lib/ruby/1.8/irb/completion.rb:10
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules''
from
2006 Mar 25
4
Can''t quite get Rails working on Mac, help please :).
I''ve followed the install the install guide on
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
and it seemed to work. And I''ve been following the Instant Gratifiction
guide in Chapter four in Agile Web Development with Rails book. I''m in
terminal and I type -
cd work (everything works fine) then
rails demo (everything seems to work) then
cd
2006 May 24
5
Starting on the Ruby Rails path
Hi all, I''m a web designer/-developer. I found Ruby and Ruby on Rails,
and as I can understand (for now) this is what I''ve been looking for.
I''m really exited about this. Prior to this I''ve used Lasso and PHP.
But a few questions (sitting on Mac OS 10.4.6). I tried to install
according to this:
2006 May 21
3
First try with lighttpd
Hi,
I have a Rails application sitting on my computer that works just fine
with webrick. I would like to try to serve it locally with lighttpd
I followed the instructions on the hivelogic site for installing lighttpd
http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger
Then I looked on page 457 in the Agile Rails book for instructions
about configuring the rails app for