That did the trick. Thanks...
On Jan 28, 4:25 pm, Mike Gaffney <[email protected]> wrote: > Per the readme: rails 2.2 goes with AS branch rails-2.2, master rails > goes with master as: > > However, it seems that you have to set up downloads, and for the life of > me I can't figure out how to set up alternative downloads. If you want, > send a github email to gaffo and I'll send you a tarball in email. Sorry > that it's that awkward, not sure WTF. > > If anyone on this list knows how to set up downloads on github (I > figured they were just based upon branches), let me know. I searched > everywhere. > > -Mike > > rob wrote: > > I see the download options but it's not clear to me which AS tag/ > > version corresponds to the rails 2.2 target. > > > On github I clicked all branches > rails-2.2 and download from there > > and drop into vendor/plugins. Same problem as before. > > > Sorry, still coming up the curve on git(hub).... > > > On Jan 28, 3:37 pm, Mike Gaffney <[email protected]> wrote: > > >> rob, > >> Right off of github. There is a download link for each version. > > >> -Mike > > >> rob wrote: > > >>> Mike, thanks for working with me on this. > > >>> The git command you suggest always fails - I suspect because I'm > >>> behind a authenticated proxy (and on windows): > >>> C:\jruby\myapp\vendor\plugins>git > >>> clonehttp://github.com/activescaffold/active_scaffold.git > >>> Initialized empty Git repository in C:/jruby/myapp/vendor/plugins/ > >>> active_scaffold/.git/ > >>> got 9c10eaa8e79a939615f8c854b0d60c0078a359d5 > >>> <snip> > >>> error: Unable to find abb912c51919e6594f87d1e8fc3f05f45e1a5f7c under > >>>http://github.com/activescaffold/active_scaffold.git > >>> Cannot obtain needed tree abb912c51919e6594f87d1e8fc3f05f45e1a5f7c > >>> while processing commit f6d779f29c91e69581a302548b8e0c61a00bc1f9. > >>> fatal: Fetch failed. > > >>> Anyway, I installed the plugin using MRI and got the same result as > >>> before: > >>> C:\jruby\myapp>ruby script/plugin > >>> installhttp://github.com/activescaffold/active_scaffold.git/ > >>> -r rails-2.2 > >>> + ./CHANGELOG > >>> + ./MIT-LICENSE > >>> <snip> > >>> C:\jruby\myapp>ruby script\server > >>> => Booting Mongrel (use 'script/server webrick' to force WEBrick) > >>> => Rails 2.2.2 application starting onhttp://0.0.0.0:3000 > >>> => Call with -d to detach > >>> => Ctrl-C to shutdown server > >>> ** Starting Mongrel listening at 0.0.0.0:3000 > >>> ** Starting Rails with development environment... > >>> Exiting > >>> c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/ > >>> dependencies.rb:102:in `const_missing': uninitialized constant ActionV > >>> iew::Template::Path (NameError) > >>> from C:/jruby/myapp/vendor/plugins/active_scaffold/lib/ > >>> extensions/generic_view_paths.rb:1 > >>> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > >>> 31:in `gem_original_require' > >>> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > >>> 31:in `require' > >>> from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ > >>> active_support/dependencies.rb:153:in `require' > >>> from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ > >>> active_support/dependencies.rb:521:in `new_constants_in' > >>> from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ > >>> active_support/dependencies.rb:153:in `require' > >>> from C:/jruby/myapp/vendor/plugins/active_scaffold/ > >>> environment.rb:4 > >>> from C:/jruby/myapp/vendor/plugins/active_scaffold/ > >>> environment.rb:4:in `each' > >>> ... 45 levels... > >>> from c:/ruby/lib/ruby/gems/1.8/gems/rails-2.2.2/lib/commands/ > >>> server.rb:49 > >>> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > >>> 31:in `gem_original_require' > >>> from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb: > >>> 31:in `require' > >>> from script/server:3 > > >>> C:\jruby\myapp>rails -v > >>> Rails 2.2.2 > > >>> Is it possible a zipped AS for rails 2.2 is online somewhere? > > >>> Thanks, > > >>> On Jan 28, 12:19 pm, Mike Gaffney <[email protected]> wrote: > > >>>> It looks like the jruby install script may not support git revisions. It > >>>> seems (I may be wrong) that you're still running master (which only > >>>> works with edge/2.3 at the moment). > > >>>> Try this: > >>>> cd vendor/plugins > >>>> rm -rf active_scaffold > >>>> git clone git://github.com/activescaffold/active_scaffold.git > >>>> cd active_scaffold > >>>> git checkout rails-2.2 > > >>>> This should have you with AS 2.2. Let me know how it works. Full console > >>>> output would be appreciated if it fails. > > >>>> -Mike > > >>>> rob wrote: > > >>>>> Thanks for clarifying. > > >>>>> I was referring to: > >>>>> vendor/plugins/active_scaffold/README > > >>>>> I've installed AS using the following command: > >>>>> jruby script/plugin > >>>>> installhttp://github.com/activescaffold/active_scaffold.git/ > >>>>> -r rails-2.2 --force > > >>>>> Now I cannot start the server: > >>>>> C:\jruby\myapp>jruby script\server > >>>>> => Booting Mongrel (use 'script/server webrick' to force WEBrick) > >>>>> => Rails 2.2.2 application starting onhttp://0.0.0.0:3000 > >>>>> => Call with -d to detach > >>>>> => Ctrl-C to shutdown server > >>>>> ** Starting Mongrel listening at 0.0.0.0:3000 > >>>>> ** Starting Rails with development environment... > >>>>> Exiting > >>>>> C:/jruby/jruby-1.1.6/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/ > >>>>> active_support/dependencies.rb:102:in `const_missing': uninitialized > >>>>> con > >>>>> stant ActionView::Template::Path (NameError) > >>>>> from C:/jruby/myapp/vendor/plugins/active_scaffold/lib/ > >>>>> extensions/generic_view_paths.rb:1 > >>>>> from C:/jruby/myapp/vendor/plugins/active_scaffold/lib/ > >>>>> extensions/generic_view_paths.rb:31:in `require' > > >>>>> Any further tips appreciated... > > >>>>> On Jan 28, 11:34 am, Mike Gaffney <[email protected]> wrote: > > >>>>>> Where did you find your readme? we're trying to stamp out the last > >>>>>> vestages of the SVN repo and this info. > > >>>>>> Thanks, > >>>>>> Mike > > >>>>>> rob wrote: > > >>>>>>> I checked the readme before. > > >>>>>>> "...Master will not work with Rails < 2.2 > > >>>>>>> Rails >= 2.2: Active Scaffold master..." > > >>>>>>> Which seems to be the opposite of what you're saying. > > >>>>>>> Please clarify... > > >>>>>>> On Jan 28, 10:43 am, Mike Gaffney <[email protected]> wrote: > > >>>>>>>> AS Master does not work with 2.2.2. Check the readme for correct > >>>>>>>> info. > > >>>>>>>> -Mike > > >>>>>>>> rob wrote: > > >>>>>>>>> Hi all, > > >>>>>>>>> I've built a fairly simple AS form. For some reason, some of the > >>>>>>>>> textbox fields do not appear. The labels are there, but no value. > > >>>>>>>>> rails 2.2.2 and AS master from about 2 weeks ago. > > >>>>>>>>> Any ideas? > > >>>>>>>>> Thanks, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
