[Locomotive-users] locomotive and MAMP
Javier Martinez
ecentinela at gmail.com
Sun Aug 20 12:10:56 GMT 2006
I'm trying to use mysql from MAMP into locomotive, but I can't
connect with the server with rails.
I added the "Additional Path" => "/Applications/MAMP/Library/bin" to
Locomotive and change the socket to "/Applications/MAMP/tmp/mysql/
mysql.sock" on database.yml.
If I make an scaffold for one tabble ( tags ), the command makes the
files correctly, but if I want to go to the page, I get this error
uninitialized constant Tag
RAILS_ROOT: /Users/ecentinela/rails/opino/public/../config/..
Application Trace | Framework Trace | Full Trace
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/
gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:
123:in `const_missing'
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/
gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:
131:in `const_missing'
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/
gems/1.8/gems/activesupport-1.3.1/lib/active_support/inflector.rb:
161:in `constantize'
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/
gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/string/
inflections.rb:59:in `constantize'
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/
gems/1.8/gems/actionpack-1.12.5/lib/action_controller/pagination.rb:
194:in `paginator_and_collection_for'
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/
gems/1.8/gems/actionpack-1.12.5/lib/action_controller/pagination.rb:
129:in `paginate'
#{RAILS_ROOT}/app/controllers/tags_controller.rb:12:in `list'
#{RAILS_ROOT}/app/controllers/tags_controller.rb:3:in `index'
This error occured while loading the following files:
tag.rb
Somebody can help me?
PD: I did a rails update to 1.1.6 ( on welcome page, it says that )
but in these lines you can view something about rails112 ?¿?¿?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20060820/dd866ed1/attachment.htm
More information about the Locomotive-users
mailing list