Skip to content

Instantly share code, notes, and snippets.

@benkoshy
Created April 26, 2021 01:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benkoshy/4aef656b66a1f008a4bdee417ca4db4a to your computer and use it in GitHub Desktop.
Save benkoshy/4aef656b66a1f008a4bdee417ca4db4a to your computer and use it in GitHub Desktop.
Pagy issue
[!] There was an error while loading `pagy.gemspec`: /home/koshy/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/bundler/gems/pagy-7c9eb10dd089/lib/pagy/frontend.rb:26: syntax error, unexpected '='
...  def pagy_get_params(params) = params
...                              ^
/home/koshy/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/bundler/gems/pagy-7c9eb10dd089/lib/pagy/frontend.rb:97: syntax error, unexpected end-of-input, expecting end. Bundler cannot continue.

 #  from /home/koshy/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/bundler/gems/pagy-7c9eb10dd089/pagy.gemspec:5
 #  -------------------------------------------
 #  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
 >  require 'pagy'
 #  
 #  -------------------------------------------`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment