Displaying 20 results from an estimated 900 matches similar to: "connecting to mysql on OS X 10.4"
2006 Apr 03
18
newbie generate scaffold
Hi Guys
First time on the list and pretty new to the rails way of doing
things, yup I know sorry.. another newbie!
anyway, apologies out of the way, this is the problem I am having...
I have purchased the "Agile Development with Rails" book and have
just started running through the ''Depot'' demo application.
I have got to page 57...
I have my project files all
2009 Aug 15
10
** PLEASE HELP A NEWBIE ** Status: 500 Internal Server Error no such file to load -- mysql
Hello All,
I have managed to upgrade ruby to 1.8.7.
However, when I use Terminal and ''cd'' to the app and run ''ruby script/
server'' ... I get an error when i click the link ''about your
applications environment''.
When I look into Terminal, it suggests Status: 500 Internal Server
Error
no such file to load -- mysql
How do I overcome this?
2006 Mar 01
5
Error installing the MySQL Ruby bindings?
Hi, I attempted to install the MySQL Ruby bindings and I received the
following errors:
> gem install mysql -- --with-mysql-dir=/usr/local/mysql
Attempting local installation of ''mysql''
Local gem file not found: mysql*.gem
Attempting remote installation of ''mysql''
Building native extensions. This could take a while...
*** extconf.rb failed ***
Could not
2006 Apr 30
3
Problem(?) updating gems - mysql gem
Hi,
On OS X (10.4.6), Rails 1.1.2...
I tried doing a sudo gem update, and this is the result I''m getting:
Upgrading installed gems...
Attempting remote upgrade of mysql
Attempting remote installation of ''mysql''
Select which gem to install for your platform (powerpc-darwin8.6.0)
1. mysql 2.7.2006.04.21 (mswin32)
2. mysql 2.7 (ruby)
3. mysql 2.6 (ruby)
4. mysql
2006 Feb 25
20
Agile Rails book code fails page 32
Starting Agile Web Development with Rails, page 32, everything has worked
well so far but on (book not pdf) page 32 I don''t get the "Template Is
Missing" error. I get
Routing Error
Cannot load config/routes.rb:
No such file to load -- ./demo/script/../config/../config/routes.rb
There is a file at e:\ruby\ror\work\demo\config\routes.rb
It''s all greek to me and
2009 Feb 09
13
mysql install problem
Hi,
I got Mac OS X 15.6 installed, Locomotive 2.0.8 and MYSQL 5.0.67
running. I''m having this problem when I try to install mysql gem:
Last login: Mon Feb 9 13:37:37 on ttys001
source
/var/folders/be/bexGvm9pHdq0vcEmR8-WWk+++TM/-Tmp-//39E424DB-A260-4E41-AA2E-30B64FB46F3C-7395-00002254065EA712.environment.bash
You have mail.
MBPEduCirilo:~ eduardocirilo$ source
2009 Apr 07
12
Problem with MYSQL after re-installing rails
Hey all-
Re-installed OSX yesterday and with it, Ruby and Rails
Now when I try to run db:migrate I get the error message:
"!!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please install the mysql gem and try again: gem install mysql.
Rake aborted!
no such file to load -- mysql"
So, I try sudo gem install mysql -- --with-mysql-dir=/usr/local/mysql
And get:
2007 Nov 29
6
Locomotive: Can not install mysql gem
I''m using Locomotive on MacOSX 10.4, and I have installed mysql
5.0.45.
To my surprise, the Ruby version included in Locomotive does not come
with the mysql
gem installed, so I tried to install it manually. According to the
instructions in database.yml,
this should be done using the --include switch, like this:
gem install mysql -- --include=/usr/local/lib
I selected the mysql 2.7
2009 Dec 24
12
no such file to load -- ferret
Hi there,
I''m just trying to deploy my app to my vhost, and i''m getting an error
on the phusion passenger page:
no such file to load -- ferret
now everything worked fine in development.
DO i need to reinstall the plugin and gem again? if so - would these
be in domain.com/public? or should it be installed at domain.com?
ANy advice would be great!
THank you.
--
You received
2005 Oct 22
2
problem with "gem update mysql"
Hi,
I have activated scaffold in my first rails application ( following
http://manuals.rubyonrails.com/read/chapter/38 ) and now I get the
next error
''Packets out of order'' error was received from the database. Please
update your mysql bindings (gem update mysql) and read
http://dev.mysql.com/doc/mysql/en/password-hashing.html for more
information.
if I run the "gem
2006 Oct 28
2
where is the "record" method??? i.e. which is used in generators (e.g. scaffold_generator.rb)
Hi,
Anyone know where the "record" method is defined. Its used in generators
like in the scaffold generator. An extract from it is below (taken from
scaffold_generator.rb):
def manifest
record do |m|
# Check for class naming collisions.
m.class_collisions controller_class_path,
"#{controller_class_name}Controller",
2010 Jun 15
11
mysql gem install not happening on Mac OS Leopard - any inputs at all??
Hello all,
Ive got Mac OS X Leopard (10.5.8), ruby 1.8.6 (2009-06-08 patchlevel
369) [universal-darwin9.0] and mysql 5.0.67 installed and working fine
with Rails 2.1.0.
"which ruby" outputs /usr/bin/ruby. I can see the mysql symlink in /
usr/local/mysql. I can also see the mysql-5.0.67-osx10.5-x86 folder
in /usr/local .
Im trying to upgrade my Rails apps to 2.3.5 but when i try to
2006 Mar 17
1
edge - scaffolds now pluralized?
Are my eyes going buggy, or did something recently change in Edge
Rails so that now scaffolds are generated with pluralized controller/
helper/etc names? I peeked at the code in
railties/lib/rails_generator/generators/components/scaffold/
scaffold_generator.rb
around line 50, and it looks like there was a change there recently
so that it now defaults to pluralized names. So why was this
2006 Jun 23
8
MySQL loses connection, strange problem, will pay for help
I have searched the forums, searched google, etc for the past 3 days and
have not found a solution that will work. Any help is greatly
appreciated and at this point I have no problem paying for help. I have
a paypal account.
I was developing my rails project on a server that had mysql 5. We
finished development and needed to move it over to the client server,
their server has mysql 4.1.
2006 Feb 26
17
please help: having problem with the scaffold commad, mysql.
i just recently purchase agile web dev book about ruby on rails and
going through the whole project. well i am now stuck on creating the
scaffold. I have been messing with settings for awhile now. here is the
error:
koloa@ubuntu:/var/www/depot$ ruby script/generate scaffold Product Admin
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
dependency
2011 Sep 19
27
Installing Rails Help!
Hi,
I followed a Tutorial on Nettuts to install Ruby with RVM and this went
well. I then tried to install Rails to follow the ''How to build a dropbox
live service'' from Netttus but appear to get errors can anybody help?.
Once I installed rails I created a new rails project using the command
(Rails new sharebox -d mysql)
This worked and created the folder structure.
I then
2007 Aug 06
4
problem with rails_root
Hi everybody,
I used a openseradmin who is based on rubygem (i suppose ), so when i
start my server of this openseradmin in the http://localhost:3000, i
reciceved some messages like this:
SocketError in LoginController#login
getaddrinfo: Name or service not known
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace
2004 Aug 06
4
icecast - libshout and ices
Hello,
can anyone help me please?
I have installed libxml2, libogg, libvorbis, and then i have cvsed and
installed libshout (autogen.sh && make && make install).
Then I cvsed ices and tried to run autogen.sh. It just quit with:
checking for shout-config... /usr/local/bin/shout-config
checking libshout settings
Using libshout config in /usr/local/bin/shout-config
checking
2005 Mar 05
3
login generator problem
I am trying to use the login generator, but I keep
getting the following error when I run "generate login
Account":
/usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/rails_generator/base.rb:84:in
`manifest'': No manifest for ''login'' generator.
(NotImplementedError)
from (eval):3:in `__send__''
from (eval):3:in `manifest''
from
2006 Mar 23
1
Need installation Help
Im running windows 98.
I followed the steps provided by Curt to install ruby.
when typing gem install rails --remote
I got bad command or file name.
I then proceeded to change all .cmd file to .bat file with rename *.cmd
*.bat
I updated ruby gems from 8.3 to 8.11.
I then typed gem install rails --remote, and it worked.
I now try rails -v at the command prompt and it says bad command or file