in attempting to solve my other problem (see previous post), I went to
try to upgrade the plugin in my vendor/ folder, but I ran into a
different problem:
first I removed the old contents with rm -rf vendor/plugins/
active_scaffold
Then I committed that with git. Then I tried to run this:
$ rails plugin install git://
github.com/vhochstein/active_scaffold.git
-r 'rails-3.0'
(there was a chicken/egg problem with the "as_routes" in my routes.rb
file, so I temporarily commented them out)
After commenting out the as_routes, when I run this I get an error
$ rails plugin install git://
github.com/vhochstein/active_scaffold.git
-r 'rails-3.0'
/Users/jason/Projects/MyApp/json/ruby/1.8/gems/railties-3.0.6/lib/
rails/commands/plugin.rb:277: Commands is not a module (TypeError)
from /Users/jason/Projects/MyApp/json/ruby/1.8/gems/
activesupport-3.0.6/lib/active_support/dependencies.rb:239:in
`require'
from /Users/jason/Projects/MyApp/json/ruby/1.8/gems/
activesupport-3.0.6/lib/active_support/dependencies.rb:239:in
`require'
from /Users/jason/Projects/MyApp/json/ruby/1.8/gems/
activesupport-3.0.6/lib/active_support/dependencies.rb:225:in
`load_dependency'
from /Users/jason/Projects/MyApp/json/ruby/1.8/gems/
activesupport-3.0.6/lib/active_support/dependencies.rb:596:in
`new_constants_in'
from /Users/jason/Projects/MyApp/json/ruby/1.8/gems/
activesupport-3.0.6/lib/active_support/dependencies.rb:225:in
`load_dependency'
from /Users/jason/Projects/MyApp/json/ruby/1.8/gems/
activesupport-3.0.6/lib/active_support/dependencies.rb:239:in
`require'
from /Users/jason/Projects/MyApp/json/ruby/1.8/gems/railties-3.0.6/
lib/rails/commands.rb:17
from script/rails:6:in `require'
from script/rails:6