Rookie RoR problem with ruby script/console...
I installed Ruby, RubyGems, Rails, and MySQL on Tiger (Mac OS-X 10.4).
All went well in Patrick Lenz' book on Rails, until the following error
surfaced when I attempted to open a ruby console from the shovell
directory within my home directory:
MyComputer:~/shovell myname$ ruby script/console
Loading development environment.
/usr/lib/ruby/1.8/irb/completion.rb:10:in `require': No such file to load -- readline (LoadError)
from /usr/lib/ruby/1.8/irb/init.rb:218:in `require'
from /usr/lib/ruby/1.8/irb/init.rb:218:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:216:in `each'
from /usr/lib/ruby/1.8/irb/init.rb:216:in `load_modules'
from /usr/lib/ruby/1.8/irb/init.rb:21:in `setup'
from /usr/lib/ruby/1.8/irb.rb:54:in `start'
Any fixes suggested, since I'm not at all experienced at reading and
debugging using these kinds of Ruby error messages?
Missing this "mysql.sock" file entirely on my OS-X system...
find / -name "mysql.sock" -print
the above command revealed the absence of the requisite "mysql.sock" file
when executing the above command as root on OS-X.
Would anyone care to suggest how I might either construct this "mysql.sock" file (I can use
the vi editor) or, perhaps, e-mail me a copy from their own mySQL-capable
Mac running OS-X?
I believe this might eliminate the current error I am having trying to connect to the mySQL server.