I don't even know if this is an AS issue or a Rails one, but here we go. I'm using wicked_pdf to turn some pages on pdfs, and all is working.
But a couple of days ago, I decided to upgrade AS and then i got the error pointed out on this issue: https://github.com/activescaffold/active_scaffold/issues/447 So I had to add on my Gemfile: gem 'active_scaffold', :git => 'git:// github.com/activescaffold/active_scaffold.git' Then I issued bundle install and, as expected, the error was gone. But when I run my pdf routine, I get this error: Error: Failed to execute: ["/home/cforain/.gem/ruby/2.2.0/bin/wkhtmltopdf", "-q", "--orientation", "Landscape", "file:///tmp/wicked_pdf20151023-32052-b8y7h7.html", "/tmp/wicked_pdf_generated_file20151023-32052-1feja9d.pdf"] Error: PDF could not be generated! Command Error: /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/source/git/git_proxy.rb:151:in `allowed_in_path': The git source git:// github.com/activescaffold/active_scaffold.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError) from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/source/git/git_proxy.rb:47:in `revision' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/source/git.rb:212:in `revision' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/source/git.rb:81:in `install_path' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/source/path.rb:126:in `load_spec_files' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/source/git.rb:185:in `load_spec_files' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/source/path.rb:92:in `local_specs' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/source/git.rb:155:in `specs' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/definition.rb:511:in `block in converge_locked_specs' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/definition.rb:500:in `each' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/definition.rb:500:in `converge_locked_specs' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/definition.rb:190:in `resolve' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/definition.rb:132:in `specs' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/definition.rb:177:in `specs_for' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/definition.rb:166:in `requested_specs' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/environment.rb:18:in `requested_specs' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/runtime.rb:13:in `setup' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler.rb:122:in `setup' from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/setup.rb:17:in `<top (required)>' from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' from /usr/lib64/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require' Note that it nags about git not being checked out: The git source git://github.com/activescaffold/active_scaffold.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError) from /usr/local/lib64/ruby/gems/2.2.0/gems/bundler-1.7.12/lib/bundler/source/git/git_proxy.rb:47 Even though I just did that. And the funny thing is that if I comment the 'git' part on the Gemfile, like this: gem 'active_scaffold' #, :git => 'git:// github.com/activescaffold/active_scaffold.git' Even if I don't run bundle update, everything goes smoothly. Is there any additional step beyond bundle install if I'm using the git repo on the Gemfile? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/activescaffold. For more options, visit https://groups.google.com/d/optout.
