Displaying 20 results from an estimated 70000 matches similar to: "PDF::Toolkit Execution Error"
2010 Jul 02
1
How to user PDF::Toolkit.pdftk ?
Hi,
I tried to fill a PDF fill template with an xdp file by using
PDF::Toolkit.pdftk("C:/pdf/fic2028.xdp", "fill_form",
"C:/pdf/fic2028.pdf")
But I got the following error
Errno::ENOENT (No such file or directory - "pdftk" "C:/pdf/fic2028.xdp"
"fill_form" "C:/pdf/fic2028.pdf" "-" "dont_ask")
I
2010 May 19
4
Postgres + Rail 3.0
Hi guys,
I am really new to these things like ROR and Postgres.
When I was installing ROR 3.0 it says
Successfully installed rails 3.0.0 beta
1 gem installed
Installing ri document for rails 3.0.0 beta
File not Found: lib
This is the one which I really dont understand and dont know what to do?
Help me out guys plz...
And I want to configure the database with postgresql and I want to know
how
2010 May 20
5
Problem with installation of Rails 3
Help me out guys....
While installing rails 3 i got the following message
:~$ sudo gem install rails --pre
Successfully installed rails-3.0.0.beta3
1 gem installed
Installing ri documentation for rails-3.0.0.beta3...
File not found: lib
My gem list
:~$ gem list
*** LOCAL GEMS ***
abstract (1.0.0)
actionmailer (3.0.0.beta3, 2.3.5)
actionpack (3.0.0.beta3, 2.3.5)
activemodel (3.0.0.beta3)
2012 Feb 03
2
PDF and Ruby on Rails
Hi,
I am sticking in one problem. Please help me out. The problem is
like:
What problems can arise when users hits the get_pdf action?
If there are problems, how can it be solved?
class PdfController < ApplicationController
def get_pdf
send_data Pdf.create(params[:contents])
end
end
class Pdf
def self.create(contents)
make_pdf(contents) # takes 30 seconds to run
end
2011 Mar 14
3
Kgio - ERROR: Failed to build gem native extension.
Hello guys, I am not able to install kgio. Kgio not working on windows?
I''m using:
rails 3.0.5
ruby 192
gem 1.6.2
Windows XP.
C:\Ruby192\bin>gem install kgio
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing kgio:
ERROR: Failed to build gem native extension.
C:/Ruby192/bin/ruby.exe extconf.rb
2010 May 04
4
OneLogin releases SAML for Ruby
We have just published a neat little toolkit for those of you who are
interested in SAML-enabling your enterprise application. SAML is a
standards-based single sign-on protocol, which allows an identity
provider to securely log users into an application without a password.
Some of the advantages of SAML that you avoid passwords altogether and
can centralize access control at your identity
2012 Mar 20
9
Rails 3 generate pdf
Dear All,
i am developing an application with rails 3, and now i need to generate
a pdf file,i search a lot, and try a lot ,such as prawn ,PDFkit and so
on, it seems that prawn is no response in rails3, and when i use PDFKit,
it asked me to install wkhtmltopdf first, i try to install this,but
failed, anyone can help me ?
Thanks very much.
Daisy
--
Posted via http://www.ruby-forum.com/.
--
2010 Jan 15
2
Generating views in pdf, rtf, or doc format
I have a requirement to generate views (list and show views, including
data and uploaded images) into a format that can be saved and/or
emailed. I''m looking for opinions on the easiest way to achieve this.
I''ve researched the use of both PDF::Writer and Prawn, and it seems that
to re-generate my views in pdf format will require a lot of work. Is
there an easier way using .rtf
2012 Jan 05
3
composite keys and association
i have two table, comment and post, both have composite keys, and no id
column, comment belongs to post, i follow the instruction of
http://compositekeys.rubyforge.org/, and it seems successfully,
(But i still cant confirm to put require ''rubygems'' and
require ''composite_primary_keys'' on which file ).
I can do the CRUD operation for post,then i want to create
2010 Feb 02
3
Generating a PDF using popen and wkhtmltopdf
As described on wkhtmltopdf Google group
(http://code.google.com/p/wkhtmltopdf/issues/detail?id=162), I have a
problem generating a PDF while using popen and wkhtmltopdf.
wkhtmltopdf takes HTML code as input and ouputs a PDF file. Here is what
I''m doing:
command = ''"C:\Program Files\wkhtmltopdf\wkhtmltopdf.exe" - - -q''
IO.popen(command,
2010 Jun 30
1
Prawn gem: How to create the .pdf from an *existing* file
Hi there,
Can anybody show me (maybe copy/paste a simple code example) how to
create the .pdf file from an existing (.xls) file, using the Prawn gem?
Basically, I''d need the command that takes an existing (.xls) file to
save it as a .pdf, afterwards.
(I''m asking because the Prawn documentation at
http://prawn.majesticseacreature.com/docs/ seems to be gone since quite
a while -
2011 Apr 05
6
How to achieve Google Reader-like layout in Rails?
Hi
I''m trying to create a web application with a UI that is fundamentally
similar to Google Reader, in Rails 3 and probably with some Javascript
toolkit (jQuery?). I''m new to web development (my background is in desktop
application development), however, and after some experimentation with CSS
layout I''m frankly unsure of how to achieve the desired layout. Therefore
2011 Aug 25
3
ActiveRecord searching in batch (with find_by_sql)
I have an issue where I am getting a large number of records from the
database and I cant afford to keep it in the memory due to performance
issues.
Therefore using the following would be ideal,
User.find_each(:batch_size => 5000, :start => 2000) do |user|
NewsLetter.weekly_deliver(user)
end
however,
I would like to use find_by_sql since my query is user defined. Question
is, is it
2011 Nov 15
3
create e menu for navigation.
Do you know if there is a gem for creating menu navigations?
I''ve tried simple_navigation but it''s too simple.
I like menu navigation of active_admin gem but I don''t know how to create it.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2010 Dec 17
2
Log Filtering Sensitive Data
Hi,
I know how to filter passwords, etc etc by using the below
filter_parameter_logging :password
But if i have params like the below so how do i filter them out.
"order"=>{"card_number"=>"4111111111111160"}
ive tried the following below but it doesnt seem to work
filter_parameter_logging :card_number, :order_card_number, :order
How do people do this
2012 Nov 18
3
remarkable activerecord association RSpec
i''m using gem Remarkable activerecord for association. i''ve installed
remarkable and remarkable activerecrod both gem. i''ve added both gem in
my Gemfile. i''ve added "remarkable_activerecord" as required in
spec_helper.rb.
describe Authentication do
FactoryGirl.build(:authentication).should
belong_to(:user)
2010 Jun 17
1
Rails won't execute backticked OS commands
I''m at a loss as what to look for...
I can issue a command result = `some_os_command_string` on my dev system
just fine in both a pur ruby test file, and from Rails in dev mode.
When I push that code to my server, the backtick command doesn''t work.
No failure message -- even if I wrap it in begin/rescue so I have no
specific clues to work from.
I can run that same back ticked
2011 Apr 25
1
CalendarDateSelect Error:
Hello All,
I guess you guys can light me up better than google. I am getting a
pop-up when i introduced full_calendar functionality in my app. The
pop-up message is:-
CalendarDateSelect Error: Prototype could not be found. Please make sure
that your application''s layout includes prototype.js (.g. <%=
javascript_include_tag :defaults %>) *before* it includes
calendar_date_select.js
2011 Mar 02
3
Couldn't find 'rspec' generator
Hi,
I am trying to learn the RSpec but unfortunately I found all the
tutorials which are very old. Is anyone have latest tutorial?
I am following some tutorial, I have followed the following steps:-
1) gem install rspec
2) gem install rspec-rails
3) ./script/generate rspec
I am getting an error that "Couldn''t find ''rspec'' generator"
I have searched for this
2011 Apr 18
3
ActiveSupport 3.0.6: require 'active_support/core_ext' generates "circular require" warning
Hello,
i noticed some strange warnings when doing
require ''active_support/core_ext''
with activesupport 3.0.6.
If i do
gem ''activesupport'', ''=3.0.5''
require ''active_support/core_ext''
then it works fine.
Is this a bug in rails 3.0.6?
More precisely, if i do
$ irb -w
> require