cd my local heroku app install :script/plugin install git:// github.com/mislav/will_paginate.git
ApplicationController: @posts = Post.paginate :page => params[:page]||1, :per_page => 5 view: <div><%= will_paginate @posts, :prev_label => '上一页', :next_label => '下一页' %></div> git add . git commit -m "add will_paginate" git push 2008/9/22 DyingToLearn <[EMAIL PROTECTED]> > > I found out what it didn't like about the will_paginate gem. > > I had to use the exact version number that I checked into git. So > environment.rb had to have this: > config.gem 'mislav-will_paginate', :version => '2.3.4', :lib => > 'will_paginate', :source => 'http://gems.github.com' > > I never did figure out what caused the other errors. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" 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/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
