Great! I compared the gemspec with another hobo gem and didn't spot any differences on that line... Thanks for the fix and explanation!
Best Arve Den 23. okt. 2012 kl. 17:01 skrev Bob Sleys <[email protected]>: > Yes I did, sorry about that and thanks for the quick fix. > > Bob > > On Tuesday, October 23, 2012 10:28:48 AM UTC-4, Bryan Larsen wrote: >> >> Try it now, there was definitely a problem with the gemspec. I'm not >> sure why it didn't give anybody else a problem. >> >> Bryan >> >> P.S. Bob, it appears that you copied that line from a Hobo gem. >> Hobo packages a bunch of gems into the same git repository, which is >> why they need the -x #{name}. hobo_paperclip is one gem in a single >> repo, so doesn't need it. >> >> On Tue, Oct 23, 2012 at 10:21 AM, Arve Voldsund <[email protected]> wrote: >> > I tried to use the hobo_paperclip gem in a new project, but I get bundler >> > complaints and I'm not sure what to do about it. Anyone? >> > >> > Arve >> > >> > >> > Updating git://github.com/Hobo/hobo_paperclip.git >> > Unfortunately, a fatal error has occurred. Please see the Bundler >> > troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/bundler/gems/hobo_paperclip-4f90158436b8/hobo_paperclip.gemspec:16:in >> > >> > `block in <main>': undefined local variable or method `name' for >> > main:Object >> > (NameError) >> > from >> > /Users/arvevoldsund/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1346:in >> > >> > `initialize' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/bundler/gems/hobo_paperclip-4f90158436b8/hobo_paperclip.gemspec:7:in >> > >> > `new' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/bundler/gems/hobo_paperclip-4f90158436b8/hobo_paperclip.gemspec:7:in >> > >> > `<main>' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler.rb:298:in >> > >> > `eval' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler.rb:298:in >> > >> > `rescue in block in load_gemspec_uncached' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler.rb:293:in >> > >> > `block in load_gemspec_uncached' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler.rb:291:in >> > >> > `chdir' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler.rb:291:in >> > >> > `load_gemspec_uncached' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler.rb:282:in >> > >> > `load_gemspec' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/source.rb:411:in >> > >> > `block in load_spec_files' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/source.rb:410:in >> > >> > `each' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/source.rb:410:in >> > >> > `load_spec_files' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/source.rb:799:in >> > >> > `load_spec_files' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/source.rb:381:in >> > >> > `local_specs' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/source.rb:774:in >> > >> > `specs' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/definition.rb:491:in >> > >> > `block in converge_locked_specs' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/definition.rb:480:in >> > >> > `each' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/definition.rb:480:in >> > >> > `converge_locked_specs' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/definition.rb:166:in >> > >> > `resolve' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/definition.rb:113:in >> > >> > `specs' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/definition.rb:108:in >> > >> > `resolve_remotely!' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/installer.rb:81:in >> > >> > `run' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/installer.rb:14:in >> > >> > `install' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/cli.rb:230:in >> > >> > `install' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/vendor/thor/task.rb:27:in >> > >> > `run' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/vendor/thor/invocation.rb:120:in >> > >> > `invoke_task' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/vendor/thor.rb:275:in >> > >> > `dispatch' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/vendor/thor/base.rb:408:in >> > >> > `start' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/bin/bundle:14:in >> > >> > `block in <top (required)>' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/lib/bundler/friendly_errors.rb:4:in >> > >> > `with_friendly_errors' >> > from >> > /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/gems/bundler-1.2.1/bin/bundle:14:in >> > >> > `<top (required)>' >> > from /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/bin/bundle:19:in >> > `load' >> > from /Users/arvevoldsund/.rvm/gems/ruby-1.9.3-p0@rails317/bin/bundle:19:in >> > `<main>' >> > >> > >> > -- >> > 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/-/PQh9WNGBCMIJ. >> > 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/hobousers?hl=en. > > -- > 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/-/sh8FHhvyG-oJ. > 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/hobousers?hl=en. -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
