Bootstrap: error when including will_paginate 3.0.4

88 views
Skip to first unread message

herrw...@gmail.com

unread,
Jan 3, 2013, 2:02:33 PM1/3/13
to hobo...@googlegroups.com
Trying to install Hobo_bootstrap.  It seems that will_paginate is a required dependency.  I get the error below when I include the "will_paginate" gem.  I tried doing a simple "gem install will_paginate" but latest is only version 3.0.3 and seems that hobo_bootstrap requires 3.0.4.  Any ideas on how to remedy this?
Thanks.
Art.


GemFile
gem 'rails'
gem 'sqlite3'
gem 'paperclip'
gem 'hobo_paperclip'
gem 'geocoder'
gem 'gmaps4rails'
gem "hobo_bootstrap", :git => "git://github.com/Hobo/hobo_bootstrap.git"
gem "will_paginate", :git => "git://github.com/Hobo/will_paginate.git"
gem "hobo" #, "= 1.3.0"
group :assets do
    gem 'sass-rails' 
    gem 'coffee-rails' 
    gem 'uglifier' 
    gem 'bootstrap-sass' 
end


# bundle
Unfortunately, a fatal error has occurred. Please see the Bundler 
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! 
/usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler.rb:294:in `block in load_gemspec_uncached': invalid byte sequence in US-ASCII (ArgumentError)
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler.rb:291:in `chdir'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler.rb:291:in `load_gemspec_uncached'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler.rb:282:in `load_gemspec'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/source.rb:411:in `block in load_spec_files'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/source.rb:410:in `each'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/source.rb:410:in `load_spec_files'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/source.rb:799:in `load_spec_files'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/source.rb:381:in `local_specs'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/source.rb:774:in `specs'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/definition.rb:491:in `block in converge_locked_specs'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/definition.rb:480:in `each'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/definition.rb:480:in `converge_locked_specs'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/definition.rb:166:in `resolve'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/definition.rb:113:in `specs'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/definition.rb:108:in `resolve_remotely!'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/installer.rb:81:in `run'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/installer.rb:14:in `install'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/cli.rb:230:in `install'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/vendor/thor/task.rb:27:in `run'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/vendor/thor/invocation.rb:120:in `invoke_task'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/vendor/thor.rb:275:in `dispatch'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/vendor/thor/base.rb:408:in `start'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/bin/bundle:14:in `block in <top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/lib/bundler/friendly_errors.rb:4:in `with_friendly_errors'
from /usr/local/rvm/gems/ruby-1.9.3-p125/gems/bundler-1.2.3/bin/bundle:14:in `<top (required)>'
from /usr/local/rvm/gems/ruby-1.9.3-p125/bin/bundle:19:in `load'
from /usr/local/rvm/gems/ruby-1.9.3-p125/bin/bundle:19:in `<main>'

Bryan Larsen

unread,
Jan 3, 2013, 2:50:42 PM1/3/13
to hobo...@googlegroups.com
We only require 3.0.3. We print a warning if you don't have
"3.0.4.hobo". The only thing that should break with 3.0.3 is ajax
pagination, which only happens if you specifically ask for it.

It looks like you have a corrupted download of will_paginate
3.0.4.hobo. Try doing a `bundle show will_paginate`, and then
looking around in that area and deleting any remnants of 3.0.4.hobo.

Bryan
> --
> You received this message because you are subscribed to the Google Groups
> "Hobo Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/hobousers/-/37OcR9TD6WYJ.
> To post to this group, send email to hobo...@googlegroups.com.
> To unsubscribe from this group, send email to
> hobousers+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.

herrw...@gmail.com

unread,
Jan 3, 2013, 5:04:37 PM1/3/13
to hobo...@googlegroups.com
Found the problem.  Here's the solution for the next person.  Added LANG="en_US.UTF-8" to /etc/environment and that solved the problem.
Reply all
Reply to author
Forward
0 new messages