Hi Kenny, I'm running Rails 2.0.2 not 2.2. I tried 2.2 a while back but couldn't get active scaffold to work with it.
I installed active scaffold 1.1 from googlecode per the instructions on the active scaffold website. It's working very well. Then I Tried installing active_scaffold_sortable from both googlecode and git (I think there's only one branch) but both have the missing constant problem mentioned above. I tried running `git branch -a` after cloning active_scaffold_sortable. It returns nothing. Any suggestions on how to get these pieces installed so they play nice together? Paul On Feb 18, 9:35 am, Kenny Ortmann <[email protected]> wrote: > after you clone the active_scaffold git repository into your vendor/plugins > directory run this command, and it will tell you what branch you are on > git branch -a > > you will see an * next to the branch you are on. > > since you are running rails 2.2, you will need to check out origin/rails-2.2 > > git co origin/rails-2.2 > > On Sun, Jan 25, 2009 at 4:44 PM, jayhalleaux <[email protected]> wrote: > > > I have a Mac OS X 10.5 with Rails 2.2. > > > I tried following the Active Record Sortable screencast. > > > I load the git repositories fine. > > > When I tried to use the 'script/generate model Task.' I get the > > following error: > > > /Users/JMH/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/ > > dependencies.rb:102:in `const_missing': uninitialized constant > > ActionView::Template::Path (NameError) > > from /Users/JMH/tasklist/vendor/plugins/active_scaffold/lib/ > > extensions/generic_view_paths.rb:1 > > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in > > `gem_original_require' > > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in > > `require' > > from /Users/JMH/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/ > > active_support/dependencies.rb:153:in `require' > > from /Users/JMH/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/ > > active_support/dependencies.rb:521:in `new_constants_in' > > from /Users/JMH/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/ > > active_support/dependencies.rb:153:in `require' > > from /Users/JMH/tasklist/vendor/plugins/active_scaffold/ > > environment.rb:4 > > from /Users/JMH/tasklist/vendor/plugins/active_scaffold/ > > environment.rb:4:in `each' > > ... 21 levels... > > from /Users/JMH/.gem/ruby/1.8/gems/rails-2.2.2/lib/commands/ > > generate.rb:1 > > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in > > `gem_original_require' > > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in > > `require' > > from script/generate:3; > > > any help would be appreciated. At first I thought the problem was > > related to me not having git and folder name issues. I installed git > > via macports and it loaded into my project fine. Not sure what I am > > missing. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
