I have tried to install both the classic_pagination and will_paginate
using the commands below, but still get the "undefined method
paginate".
Source code and error dump shown below. What did i miss out. Thanks.
=========================== Commands to install plugins =ruby script/plugin
install
svn://errtheblog.com/svn/plugins/classic_pagination
and
script/plugin install svn://errtheblog.com/svn/plugins/will_paginate
=========================== Controller Source Code ======class EventsController
< ApplicationController
  def index
    list
    render :action =>''list''
  end
  verify :method => :post, :only => [ :destroy, :create, :update ],
          :redirect_to => {:action => :list }
  def list
    @event_pages, @events = paginate :events, :per_page => 10
  end
  ....
  ....
end
=================== Error dump ==========================NoMethodError
(undefined method `paginate'' for
#<EventsController:0x5435bc0>):
    /app/controllers/events_controller.rb:11:in `list''
    /app/controllers/events_controller.rb:3:in `index''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/base.rb:1158:in `send''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/base.rb:1158:in `perform_action_without_filters''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/filters.rb:697:in `call_filters''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/filters.rb:689:in `perform_action_without_benchmark''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/benchmarking.rb:68:in `perform_action_without_rescue''
    C:/Programs2/Ruby/lib/ruby/1.8/benchmark.rb:293:in `measure''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/benchmarking.rb:68:in `perform_action_without_rescue''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/rescue.rb:199:in `perform_action_without_caching''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/caching.rb:678:in `perform_action''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_recor
d/connection_adapters/abstract/query_cache.rb:33:in `cache''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_recor
d/query_cache.rb:8:in `cache''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/caching.rb:677:in `perform_action''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/base.rb:524:in `send''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/base.rb:524:in `process_without_filters''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/filters.rb:685:in `process_without_session_management_support''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/session_management.rb:123:in `process''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/base.rb:388:in `process''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/dispatcher.rb:171:in `handle_request''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/dispatcher.rb:115:in `dispatch''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/dispatcher.rb:126:in `dispatch_cgi''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control
ler/dispatcher.rb:9:in `dispatch''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/../li
b/mongrel/rails.rb:76:in `process''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/../li
b/mongrel/rails.rb:74:in `synchronize''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/../li
b/mongrel/rails.rb:74:in `process''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el.rb:159:in `process_client''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el.rb:158:in `each''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el.rb:158:in `process_client''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el.rb:285:in `run''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el.rb:285:in `initialize''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el.rb:285:in `new''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el.rb:285:in `run''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el.rb:268:in `initialize''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el.rb:268:in `new''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el.rb:268:in `run''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el/configurator.rb:282:in `run''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el/configurator.rb:281:in `each''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el/configurator.rb:281:in `run''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/mongr
el_rails:128:in `run''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr
el/command.rb:212:in `run''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/mongr
el_rails:281
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp
ort/dependencies.rb:489:in `load''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp
ort/dependencies.rb:489:in `load''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp
ort/dependencies.rb:342:in `new_constants_in''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp
ort/dependencies.rb:489:in `load''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mo
ngrel.rb:64
    C:/Programs2/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`g
em_original_require''
    C:/Programs2/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`r
equire''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp
ort/dependencies.rb:496:in `require''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp
ort/dependencies.rb:342:in `new_constants_in''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp
ort/dependencies.rb:496:in `require''
    C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:
39
    C:/Programs2/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`g
em_original_require''
    C:/Programs2/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`r
equire''
    script/server:3
Rendering
C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_c
ontroller/templates/rescues/layout.erb (internal_server_error)
n_controller/templates/rescues/layout.erb (internal_server_error)
-- 
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
I think you need something like: require "will_paginate" in your environment.rb file. Be sure to put it after the Rails::Initializer block so all the Rails goodies are loaded--will- pagenate needs them. On Nov 5, 7:27 pm, Hammer Ting <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> I have tried to install both the classic_pagination and will_paginate > using the commands below, but still get the "undefined method paginate". > Source code and error dump shown below. What did i miss out. Thanks. > > =========================== Commands to install plugins => ruby script/plugin install > svn://errtheblog.com/svn/plugins/classic_pagination > and > script/plugin install svn://errtheblog.com/svn/plugins/will_paginate > > =========================== Controller Source Code ======> class EventsController < ApplicationController > def index > list > render :action =>''list'' > end > > verify :method => :post, :only => [ :destroy, :create, :update ], > :redirect_to => {:action => :list } > > def list > @event_pages, @events = paginate :events, :per_page => 10 > end > > .... > .... > end > > =================== Error dump ==========================> NoMethodError (undefined method `paginate'' for > #<EventsController:0x5435bc0>): > /app/controllers/events_controller.rb:11:in `list'' > /app/controllers/events_controller.rb:3:in `index'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/base.rb:1158:in `send'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/base.rb:1158:in `perform_action_without_filters'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/filters.rb:697:in `call_filters'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/filters.rb:689:in `perform_action_without_benchmark'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/benchmarking.rb:68:in `perform_action_without_rescue'' > C:/Programs2/Ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/benchmarking.rb:68:in `perform_action_without_rescue'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/rescue.rb:199:in `perform_action_without_caching'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/caching.rb:678:in `perform_action'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_recor > d/connection_adapters/abstract/query_cache.rb:33:in `cache'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_recor > d/query_cache.rb:8:in `cache'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/caching.rb:677:in `perform_action'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/base.rb:524:in `send'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/base.rb:524:in `process_without_filters'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/filters.rb:685:in `process_without_session_management_support'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/session_management.rb:123:in `process'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/base.rb:388:in `process'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/dispatcher.rb:171:in `handle_request'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/dispatcher.rb:115:in `dispatch'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/dispatcher.rb:126:in `dispatch_cgi'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_control > ler/dispatcher.rb:9:in `dispatch'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/../li > b/mongrel/rails.rb:76:in `process'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/../li > b/mongrel/rails.rb:74:in `synchronize'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/../li > b/mongrel/rails.rb:74:in `process'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el.rb:159:in `process_client'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el.rb:158:in `each'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el.rb:158:in `process_client'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el.rb:285:in `run'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el.rb:285:in `initialize'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el.rb:285:in `new'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el.rb:285:in `run'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el.rb:268:in `initialize'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el.rb:268:in `new'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el.rb:268:in `run'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el/configurator.rb:282:in `run'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el/configurator.rb:281:in `each'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el/configurator.rb:281:in `run'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/mongr > el_rails:128:in `run'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/lib/mongr > el/command.rb:212:in `run'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.2-x86-mswin32/bin/mongr > el_rails:281 > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp > ort/dependencies.rb:489:in `load'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp > ort/dependencies.rb:489:in `load'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp > ort/dependencies.rb:342:in `new_constants_in'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp > ort/dependencies.rb:489:in `load'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mo > ngrel.rb:64 > C:/Programs2/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `g > em_original_require'' > C:/Programs2/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `r > equire'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp > ort/dependencies.rb:496:in `require'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp > ort/dependencies.rb:342:in `new_constants_in'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_supp > ort/dependencies.rb:496:in `require'' > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb: > 39 > C:/Programs2/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `g > em_original_require'' > C:/Programs2/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `r > equire'' > script/server:3 > > Rendering > C:/Programs2/Ruby/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_c > ontroller/templates/rescues/layout.erb (internal_server_error) > n_controller/templates/rescues/layout.erb (internal_server_error) > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
environment.rb:
  config.gem ''mislav-will_paginate'', :version =>
''~> 2.3.2'',
    :lib => ''will_paginate'',
    :source => ''http://gems.github.com''
rake gems:install
Now in the controller:
@books = Book.paginate(:page => params[:books])
And here is the view:
<%= will_paginate @books %>
Its all documented here:
http://github.com/mislav/will_paginate/wikis
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
Thanks, will be trying it out. However, at the meantime, not sure I have installed svn or not. So try to explicitly install it. I tried install the .msi of TortosieSVN, but it does not come with svn.exe. So I went and download manually their svn.exe. But when I run it, in dos prompt, it pop-up error message saying: The procedure entry point_apr_hash_clear@4 could not be located in the dynamic link library libapr_tsvn.dll. Or is there a way for me to confirm if i have installed svn? Freddy Andersen wrote:> environment.rb: > config.gem ''mislav-will_paginate'', :version => ''~> 2.3.2'', > :lib => ''will_paginate'', > :source => ''http://gems.github.com'' > > rake gems:install > > Now in the controller: > > @books = Book.paginate(:page => params[:books]) > > And here is the view: > > <%= will_paginate @books %> > > > Its all documented here: > > http://github.com/mislav/will_paginate/wikis-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
You dont need svn or git to install the plugin... Just get the download from the project site and extract it to your vendor/plugin directory... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
While trying to follow the installation instruction on the github 
website, encounter another error when I came to the section on
"braid":
When trying to merge the track using:
    git merge braid/track
it throw the following error:
    Fatal: Not a git repository.
Is this because I am using Windows Vista?
So I try to install rails v2.1.2 so that I can use the "ruby 
script/plugin ..." command to do the same job, but it pop-up an error 
windows with the following error:
    The procedure entry point_apr_hash_clear@4 could not be located in 
the dynamic link library libapr_tsvn.dll.
When I close the error window, another window pop-up that says:
    SVN_FILE_DESCRIPTION has stopped working...Windows searching for 
solution.
This is the same error i encounter when trying to run "svn.exe" 
mentioned in my earlier mail.
So I am stuck again...
dl wrote:> I think you need something like:
> 
> require "will_paginate"
> 
> in your environment.rb file.  Be sure to put it after the
> Rails::Initializer block so all the Rails goodies are loaded--will-
> pagenate needs them.
> 
> 
> 
> On Nov 5, 7:27�pm, Hammer Ting
<rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
-- 
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
After downloading and setup command line Slik SVN http://www.sliksvn.com/en/download, I do not have the window error (that says "The procedure entry point ...") anymore. However, when I run ruby script/plugin install git://github.com/mislav/will_paginate.git It has another error: Plugin not found: ["git://github.com/mislav/will_paginate.git"] The other option of running "git merge braid/track" still have the same error. What else could be missing here ??? Hammer Ting wrote:> While trying to follow the installation instruction on the github > website, encounter another error when I came to the section on "braid": > > When trying to merge the track using: > > git merge braid/track > > it throw the following error: > > Fatal: Not a git repository. > > Is this because I am using Windows Vista? > > So I try to install rails v2.1.2 so that I can use the "ruby > script/plugin ..." command to do the same job, but it pop-up an error > windows with the following error: > > The procedure entry point_apr_hash_clear@4 could not be located in > the dynamic link library libapr_tsvn.dll. > > When I close the error window, another window pop-up that says: > > SVN_FILE_DESCRIPTION has stopped working...Windows searching for > solution. > > This is the same error i encounter when trying to run "svn.exe" > mentioned in my earlier mail. > > So I am stuck again... > > > > > > > dl wrote: >> I think you need something like: >> >> require "will_paginate" >> >> in your environment.rb file. Be sure to put it after the >> Rails::Initializer block so all the Rails goodies are loaded--will- >> pagenate needs them. >> >> >> >> On Nov 5, 7:27�pm, Hammer Ting <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>-- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Just realized I did managed to install will_paginate already, using the gem install method. Didn''t realize earlier as i kept looking at the <app>/vendor directory. At least i can finally continue with the pagination coding. :) -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---