similar to: Problem with GEM

Displaying 20 results from an estimated 600 matches similar to: "Problem with GEM"

2005 Mar 15
6
New Beta version of Rake for Rails Users ... Fix for Ruby 1.8.2 unit test bug
I have a new version of Rake that I''m (almost) ready to release. But before I make an official release, I would like some Rails folk to give it it try ... Why? Because it contains a workaround for the notorious Ruby 1.8.2 test/unit bug. Using this version of rails, it should be possible to unit test a rails app without patching the Ruby 1.8.2 test/unit library. Where to get it?
2005 Aug 22
1
XML Builder question (Brain Teaser? or At A Total Loss?)
I''m trying my best to get Builder to give me a nested representation of my nested database tables, but I think I''m not getting any closer to a solution. In fact, now I''m in Syntax Error land, rapidly approaching Missed Deadline country. Perhaps you could be the one to save my ass? Basically, I have Images which have many Options (intended to represent
2005 Mar 08
3
Chapter Numbering in Hieraki
I''m using Hieraki to do some documentation for RubyGems. So far I''m lovin'' it. But I have a question. I currently have three books on the site. It seems that the chapter numbers continue from one book to the next. For example, the first book has 7 chapters (numbered 1-7). The second book has three chapters, but they are numbered (8-10) rather than the (1-3) I
2005 Mar 09
10
Confused about extending the login generator ''user''
I''ve been using the login generator ''out of the box'' for simple authentication, and its been working fine. Now I want to extend it by simply adding ''type_id'' field which links to my ''user_types'' table, but I''m hitting: #<ActionController::SessionRestoreError: Session contained objects where the class definition
2005 Aug 18
10
Scaffolding, DRY and RHTML
Hello all, I''m working on a couple of Rails projects at the moment and have noticed something that seems to go against the DRY principal. Why, when scaffolding, are individual CRUD rhtml files created instead of using one as a partial and having the others use that single partial? This especially applies to the list rhtml. I am about to get to the other operations and see how feasible
2005 Mar 15
15
Web-based Ruby Syntax Highlighter
Hi all, Last night, I wrote a web-based syntax highlighter that takes Ruby and produces nice HTML of the code, ready for including on web pages, or in blog posts, or whatever. I don''t know how useful it will be for other people, but feel free to use it. Anyway, the URL is : http://syntax.carldr.com/ Any comments/suggestions would be gratefully received. Enjoy!
2005 Mar 10
6
images from database + caching
Is the information in http://wiki.rubyonrails.com/rails/show/HowtoUploadFiles on caching images still the best way on how to cache images that are served from the database? I haven''t added time information to my image table yet, and the images are sent after every single page view (even if it''s been downloaded already). Joe
2005 Mar 17
4
Specifying Which Environment I Am In
After I have uploaded my app where do I specify that my app should now use production environment settings and not development? Can that be done dynamically so that I don''t have to reset a value once I upload website? Thanks for your help!
2006 Jul 25
3
dynamic languages - how to leverage/make best use?
Hi, Does anyone have any links to, or info on, how best to leverage the power of a dynamic language. That is coming across from Java to Ruby I''m now pondering what would be the typical scenarios where I could actually call upon the power of a dynamic language. This info could be in the form of best practice for dynamic language usage, or dynamic language patters perhaps.
2005 Mar 24
3
Caching computation in rails?
Caching computation in rails? Simple example: factorial modulus a large number input: integer x output: factorial( x ) % 12345678901234567 I want it so that if it computes factorial of N once, it will not have to compute for N again. code: class SiteController < ApplicationController caches_action :factorial, :inv def examine @inv = @params[''inv''] @outv =
2005 May 03
8
SQLite3 + RAM drive => 3 times faster unit tests
One problem I sort of always had with the ActiveRecord''s tight coupling to the SQL backend is how slow it makes the unit tests. OK, there are some ways to make it faster at a price of extra complexity (reusing the fixtures, doing a rollback in the end of the test, etc), but still - it is much slower than what I would like a unit test to be. Today I had a very simple idea (why, oh why
2005 Mar 03
19
Better tools for authoring the view
I''m hand editing my .css and .rhtml files using SciTE and hitting refresh in my browser to see the results - its slow going. What tools are people using to author their .css and .rhtml files? Thanks, Neville _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Mar 05
3
login generator problem
I am trying to use the login generator, but I keep getting the following error when I run "generate login Account": /usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/rails_generator/base.rb:84:in `manifest'': No manifest for ''login'' generator. (NotImplementedError) from (eval):3:in `__send__'' from (eval):3:in `manifest'' from
2005 Apr 24
4
Typo 2.0
I''m proud to announce the 2.0 release of the typo web logging engine. What started as a toy project while I was waiting for a client at starbucks now became a prestige open source project with tons of modern features a dedicated dev team and even its own hosting service! Get it at http://rubyforge.org/projects/typo/ The 2.0 release has been long coming. Here are some of the new
2005 Mar 01
2
@request cycle variables
I posted something about this yesterday, and got some good responses but it seems that the variable @request[''controller''] isn''t being passed in to the page or isn''t being read. Has the naming convention for these variables changed. it worked great in all rails versions up to 0.9.5 with fcgi, but is not working in rails 0.10.0 with fcgi. I am currently just
2005 Mar 06
9
How to do SQL queries outside of AR
Hi Everyone, I''m trying to figure out how to do SQL queries in the Controller. I know this is not recommended, but I can''t use ActiveRecord because I am dealing with thousands of a different tables, one for each user, and I don''t think AR can be made to handle that situation. You can assign the table name; but that''s a class variable so any particular
2005 Mar 25
2
Rails PDF Documentation
hi, i''m falling in love with rails, but the main obstacle is digesting the huge amount of documetation for it... i''m getting dizzy flipping back and forth between my development and the online reference. i know rails is in a constant state of flux, but surely there is a pdf-ized version of the api reference out there somewhere. alas, google tells me there is no such animal.
2005 Mar 07
2
Threaded logging?
Is the logging system thread-safe? I have a process that takes about 5 hours, and twice, it has stopped, giving me no errors at all... but the process hasnt been finished... The second time, I loaded the status page, and it gave me a 500 error, at the same time the process stopped. I have a sneaking suspicion that the cause is two processes trying to write to the log-file at the same
2007 Dec 28
3
Cannot install wxruby on Leopard
I''d like to try wxruby on my MacBook Pro with Leopard (10.5.1) But I have troubles with gem. I can see the gem is in rubyforge: $ gem list wxruby -r *** REMOTE GEMS *** wxruby (1.9.2, 1.9.1, 1.9.0) wxrubylayouts (0.0.3, 0.0.2, 0.0.1) but when I try to install it: $ sudo gem install wxruby -r Password: ERROR: could not find wxruby locally or in a repository Any suggestion? Thanks
2007 Mar 16
5
Bad ActiveSupport gem in gem repository?
All, I''m attempting to update my gems to 1.2 and I get the following: Install required dependency activesupport? [Yn] Y ERROR: While executing gem ... (Gem::InstallError) invalid gem format for c:/ruby/lib/ruby/gems/1.8/cache/activesupport-1.4.2.g em Anyone else seeing this? Anyone willing to try it to see what''s up? Thanks, Wes -- Posted via