Problem with acts_as_taggable table migration

Brian Landau
Thu, 08 Feb 2007 09:53:14 -0000

I just installed acts_as_taggable in my Rails app, and built the
migration for the needed tables. When I went to run the migration via
the rake command I got this:
/Users/brianlandau/rails/lispr/config/../vendor/plugins/
acts_as_taggable/lib/acts_as_taggable.rb:1: syntax error, unexpected
$end
            "WHERE #{table_name}.#{primary_key} = taggintags, taggings
" +e_record_descendant, self).to_s,


When I run rake with "--trace" I get this added at the end:
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:495:in `require''
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:342:in `new_constants_in''
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/dependencies.rb:495:in `require''
/Users/brianlandau/rails/lispr/config/../vendor/plugins/
acts_as_taggable/init.rb:1:in `load_plugin''
/opt/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:
401:in `load_plugin''
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/
active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings''
/opt/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:
401:in `load_plugin''
/opt/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:
185:in `load_plugins''
/opt/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:
185:in `each''
/opt/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:
185:in `load_plugins''
/opt/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:
105:in `process''
/opt/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:43:in
`send''
/opt/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/initializer.rb:43:in
`run''
/Users/brianlandau/rails/lispr/config/../config/environment.rb:13
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/opt/local/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
/opt/local/lib/ruby/gems/1.8/gems/rails-1.2.2/lib/tasks/misc.rake:3
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `call''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
`execute''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in `each''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
`execute''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in
`invoke''
/opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in
`invoke''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:in
`invoke_prerequisites''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `send''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in `each''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:in
`invoke_prerequisites''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in
`invoke''
/opt/local/lib/ruby/1.8/thread.rb:135:in `synchronize''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in
`invoke''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in
`each''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run''
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
/opt/local/bin/rake:16:in `load''
/opt/local/bin/rake:16

Any ideas?

-Brian


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---