similar to: Can''t use Gruff with Rails

Displaying 20 results from an estimated 10000 matches similar to: "Can''t use Gruff with Rails"

2006 Apr 30
6
Help, Gruff is killing me
Hi all, I hope somebody can help me out here, since the issue has been killing me for the last three days. Here is the issue: It seems that gruff kills rails/webrick whenever it''s used on win32. I installed gruff per instructions and it seems to be working. The sample controller generates a nice grpah with send_data and all. The issue started once I try to use any other
2006 Jul 22
2
Gruff Graphs
Well, I''m trying to generate graphs using gruff, but I''m having problemns. I use, require_gem ''gruff'' then when I run g = Gruff::Line.new(475) I get uninitialized constant Gruff ///// c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in `const_missing''
2007 Jan 04
4
RMagick problems
I read the 13th recipe in the book "Rails Recipes" from Chad Fowler. I install with gem the gruff-library (gem install gruff). After the installation, I download the "rmagick-win32-1.13.0_IM-6.2.9-3.zip" file and install it on my win32-machine. It was successfully! So, I create a controller with script/generate. In a method, which I wrote after the creation, I''ll make
2006 Aug 09
2
Gruff gives font-related error
Hello Railslist, I''m trying to get Gruff running on OSX Tiger (intel) with edge Rails. I''ve installed ImageMagick, Rmagick, FreeType and all their dependencies, or so I believe. (I''ve compiled them from source mostly, following a recent tutorial for Rails and ImageMagick on Intel Macs) While following the sample on the Gruff downloadpage (the one with the fruit), Rails
2007 Feb 28
1
hi guys problem with running gruff
Hi guys i am pretty much a newbie to rails and tried to install gruff and run the example given in home page for gruff i am using ubuntu and dapper. first i got two errors when i used this example #!/usr/bin/ruby require ''rubygems'' require ''gruff'' g = Gruff::Line.new g.title = "My Graph" g.data("Apples", [1, 2, 3, 4, 4, 3])
2006 Oct 20
6
win32-service weirdness
I''ve got my application running under Windows with mongrel perfectly, so it was time to convert it to a service. service::install works fine, but service:start gives me some "One moment, start pending" and then lots of "One moment, stopped". After a bit of digging I found this in the service.log: ** Starting Mongrel in production mode at :3000 ** Starting Rails in
2006 May 25
2
Have a quick Gruff Graphing question
I have some graphs and everything is working great, but I''d like to set a minimum height so to speak on the vertical scale. Is there a method to do that with Gruff? I''ve tried looking through the docs but can''t seem to get it to work. So for example, if the highest datapoint in my graph was say 500, is it possible to have the minimum vertical scale on the left set
2006 Oct 31
1
[OT] Hosed ImageMagick Kills Gruff
This is off-topic because it''s installation specific, but I wondered if anyone could point me in the right direction. I installed ImageMagick and RMagick on my MacBook Pro using Darwin Ports and the normal gem install, respectively. I got the dreaded "bus error." I read Tom Mornini''s discussion about installing GraphicsMagic and then RMagick, so I used port uninstall
2008 Mar 22
3
rmagick
hey i am now using gruff for showing graph... when i run the program,it will show an error: no such file to load -- RMagick..then i am trying to install RMagick,by the command gem install rmagick,but this command also not executed properly..anyone can help.. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2006 Jun 28
15
Its here! RubyGems Release 0.9.0
Read about it here: http://rubyforge.org/forum/forum.php?forum_id=7575 -- Posted via http://www.ruby-forum.com/.
2006 Dec 23
11
Frustrating "require" problems with RMagick
I am using RMagick in my app and am having problems in deployment. The deployment machine (Fedora Core 5) can''t find RMagick unless I change the "require" syntax from that used on the dev machine (OS X). And the dev machine doesn''t like the syntax that works on the deployment server! To wit: [OS X] $ script/console Loading development environment. >> require_gem
2007 Apr 09
6
gruff send_data
Hi, for those with experience of Gruff module: suppose I want to send image from server straight to the browser (as example on gruff web site): send_data(g.to_blob, :disposition => ''inline'', :type => ''image/png'', :filename => "gruff.png") the server seems sending this binary data ok, but I am having
2006 Apr 20
7
Rails + postgres case insensitive searches.
Hello all I am wondering how rails handles case sensitivity in databases. If I do a Person.find_all_by_name("tim") in mysql I would expect to get tim, TIm, and Tim. Do I only get tim in postgres? How do other people deal with this? Do you resort to find_by_sql for all your postgres queries to get case insensitive results?
2006 Jan 02
5
How can one use GRUFF with locomotive ( I guess there is a wider question here, also)
Hi: I love Locomotive and use it exclusively for my rails projects. I''d like to install GRUFF and give it a try (a graph image creation package). I know I can do sudo gem install gruff from the command line for normal ruby and rails. How do I make gems available to Locomotive? bruce
2007 Mar 27
4
Gruff with PDF::Writer
Hello all Has anyone managed to embed gruff graphs into a PDF document using pdf::writer? The easy way (as far as I can see) would be to just save the gruff graph as a temporary file then read that file in pdf::writer. I was wondering if anyone had managed to get them working together directly? RJ -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~
2006 Jul 21
5
Reports in Rails
Hi, In my rails application I want to include a reporting mechanism that will allow the users of application to view statistics of various operations graphically. Does rails provide inbuilt reporting capabilities? what are different appraoches I can follow to achieve reporting in rails? On googling I found following as some of the options, 1.Gruff Graphs for Ruby 2.SVG 3. using Apache FOP.
2006 Jan 20
2
Gruff image
Hi I want astackedBar graph in my project I want to give it negetive axis, scale, negetive values etc . How can I do that with gruff package? Thanks.. Sainaba -- Posted via http://www.ruby-forum.com/.
2006 Apr 14
0
Gruff on Windows
Has anyone achieved a stable deployment of Gruff with Rmagick on Windows? I''ve been playing around with this on Instant Rails and after installing the RMagick win 32 gem (local gem install as per instructions on web) and then Gruff on top of that. I did a test controller method that rendered the fruit pie chart as per the examples on the gruff site. This worked. However, when I refreshed
2007 Dec 29
6
Regarding the 1.1.3 security release
* Apologies for starting a new thread; I just subscribed. Has anyone been able to make this exploit happen if requests are being proxied to Mongrel through Apache? I''ve been trying variations on the double-encoding thing and can''t trigger the exploit through Apache. Hitting Mongrel directly does expose the problem. I''ll still upgrade my servers, of course, but I
2006 Jul 05
1
Need some Gruff graphing help - custom dimensions?
I''ve been working with Gruff to do all my apps graphing and such etc. I love it but I''m just having a hard time customizing the graphs, but this is perhaps due to my inability to comprehend the online RDocs. What I want to do is adjust the width / heights of my graphs or at the VERY LEAST the heights. It seems that if you scale a graph anywhere below 400-450px it is pretty