Displaying 20 results from an estimated 20000 matches similar to: "(unknown)"
2006 Jun 08
0
rq-2.3.3
HISTORY
---
2.3.3:
- fixed bug in updater related to io files (see tmp_stdin in jobqueue.rb)
- [IMPORTANT] removed feature where stdin jobs could contain comments (''#'').
input lines are now taken literally __except__ blank lines, which are
still ignored.
- added ability to dump stdin/stdout/stderr for any job
rq q stdout 42
2006 Dec 08
2
UJS plugin incompatible with RSpec?
Hi all,
Anyone using UJS with RSpec? I have the following view spec:
---- edit_spec.rb
context "accounts/edit" do
fixtures :users
setup do
assigns[:user] = users(:consumer)
end
specify "should display the user info to edit" do
render ''/accounts/edit''
end
end
---- end
that causes this exception:
---- exception
ActionView::TemplateError
2005 Nov 02
1
Windows, Segmentation Faults, config.load_paths and config.cache_classes
I am doing some testing with the rails trunk, version I switched to
because of memory leaks in 0.13.1 under linux environment.
Right now the application is running fast and steady under linux, with
no memory leaks using SCGI Rails Runner 0.4.3 from Zed, BUT it has
become unusable under Windows (our main development environment) where
I am getting a lot of segmentation faults.
BUT the problem
2006 Apr 28
0
rq-2.3.2
NAME
rq v2.3.2
SYNOPSIS
rq (queue | export RQ_Q=q) mode [mode_args]* [options]*
URIS
http://raa.ruby-lang.org/project/rq/
http://www.linuxjournal.com/article/7922
DESCRIPTION
ruby queue (rq) is a zero-admin zero-configuration tool used to create
instant linux clusters. rq requires only a central nfs filesystem in order
to manage a simple sqlite database as a distributed
2007 May 31
0
script/runner permission denied
Hi,
I have been running ferret for several months now, but want to make use
of the new Drb functionality. So I am running Rails Stable (off the
branch), Ferret 0.11.4, and the latest AAF. I have a ferret_server_yml
file in my RAILS_ROOT/config folder:
production:
host: localhost
port: 9009
pid_file: log/ferret.pid
And I took the three scripts from the AAF plugin and put them into my
2011 Aug 09
0
Devise, RSpec and Webrat
My app is builded with rails 2.3.12, rspec-rails 1.3.2, webrat 0.7.3.
My spec_helper.rb
ENV["RAILS_ENV"] ||= ''test''
require
File.expand_path(File.join(File.dirname(__FILE__),''..'',''config'',''environment''))
require ''spec/autorun''
require ''spec/rails''
require
2007 Jun 21
0
Testing a Rails plugin
Hi
OK it looks like I''m a convert to BDD :-) Well in principle at least
- let''s see how it turns out.
I''ve just set up a test environment for the Hobo plugin according to
this guide:
http://www.pluginaweek.org/2006/11/24/plugin-tip-of-the-week-
testing-your-plugins-the-right-way/
And then adapted the setup to work with RSpec
In the plugin I now have:
/spec
2008 Apr 09
5
intermittent BJ errors
hi all
I''m running background tasks using BJ 1.0.1 (gem version). On some
requests, the tasks are executed as expected. On others, I get the
following error:
RuntimeError (no bj found in ["/u/apps/igniter/releases/20080408205801/
script", "/bin", "/usr/bin", "/sbin", "/usr/sbin"]):
when it runs, it runs fine but does anyone know what
2006 Jun 01
1
Using acts_as_ferret outside rails
How do I use a model that has "acts_as_ferret" defined outside rails?
I''ve tried adding this to the top of my model:
require
"#{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb"
and then defining RAILS_ROOT and RAILS_ENV in my app that uses the model
outside rails. That got me this exception:
2006 Nov 01
0
fatal flaw in popen4 on windows? [WAS] Re: Nonblocking IO read (fwd)
Hi Ara,
I''ll take a look. In the meantime, I''ve cc''d the win32utils-devel
mailing list to see if anyone has any ideas/suggestions.
Regards,
Dan
> -----Original Message-----
> From: ara.t.howard at noaa.gov [mailto:ara.t.howard at noaa.gov]
> Sent: Wednesday, November 01, 2006 12:36 PM
> To: Berger, Daniel
> Subject: fatal flaw in popen4 on windows?
2006 Jul 31
0
Can''t get into production mode!
Hi all,
I''m deploying my first rails app. I''m using lighty and fcgi, and cannot
get the app to go into production mode. I deploy via Capistrano.
When I dump ENV, RAILS_ENV is still ''development''. Is something
overriding the lighty config?
Here is the lighty config:
var.appname = "mcalogin"
server.port = 1411
server.modules =
2006 Apr 20
2
index_dir path
Hi,
I am running several applications, and I need them to share their
indexed data. So instead of putting my index in the default location of
RAILS_ROOT/index/RAILS_ENV
I want it to appear in
RAILS_ROOT/../index/RAILS_ENV
(ie in the parent directory of each of my root directories ... I have
three apps working together)
In the acts_as_ferret file, I have changed line 73 to: index_base =
2010 Mar 20
0
Problem with videos on heroku
Hi,
I have recently moved my RoR app on the Heroku platform, and almost
everything works fine apart from the videos. It works fine when my app
runs in local but not on heroku. This is the error log I''m getting, if
anyone knows where it can be coming from:
Processing VideosController#new (for IP at 2010-03-20 04:32:09) [GET]
Session ID: 6abecf60c3369d7c7029e366bb801e08
Parameters:
2007 Jul 17
3
two acts_as_ferret questions!
hi, guys:
two acts_as_ferret questions!
1, ruby script/plugin install
svn://projects.jkraemer.net/acts_as_ferret/tags/stable/acts_as_ferret
sh: svn: command not found
i can not install acts_as_ferret to my Rails project.
what''s wrong? i''m useing rhel 4!
2, i downloaded the acts_as_ferret-0.4.0.tgz at
http://rubyforge.org/frs/?group_id=2916&release_id=10617
and uploaded to
2010 Mar 05
1
WEBrick 500 error only with https
I have an application i''m installing on my application server. I''ve
been
using WEBrick and for now i''d like to just keep using it working in
prototype development mode. This works fine on my development machine
using both http and https, where the host is ''localhost'' (ports
3000,3001). It also works fine on the application server http port
3000.
The
2007 Apr 18
1
stack level too deep for method missing when using drb
I set up ferret and it''s running fine normally. Now I want to hook up
the backgroundrb server. However whenever I try to do a search, I get
this error:
(druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:1075:in
`method_missing''
(druby://localhost:9010)
./vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in
`find_id_by_contents''
(druby://localhost:9010)
2006 Mar 02
5
Instiki and SQL Server??
Hello. I reeeeally want to get Instiki running at my day job, but they
are Microsoft-heads. While I can probably sell them on trying Rails,
they are definitely going to want the database to sit in our SQL Server
instance with our other databases. I can''t get instiki to create the
tables in sql server though (I''ve added ADO.rb, and gotten a
connection). When I run the
2007 Dec 09
1
[rspec-devel] rspec_on_rails (trunk - r3070) works with Rails 2.0.1
I figured most of it out. The Spec::Rails stuff was something in the
code which has been fixed by revision 3099. The test methods partially
make sense. Since the test/unit code has been integrated, methods with
test in them are automatically turned into specs. However, the test?
method is in a lib file that isn''t directly loaded into the specs. It
is a convenience method: def
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi.
I am using BackgrounDRb to process thumbnails and upload to S3 -
things are hunky-dory in development (thumbs are generated, these are
uploaded to S3, the metadata is saved to trhe DB, and I get a nice
status page updated by periodic calls via ask_status), but when I
tried to deploy to our staging server and stop/start BackgrounDRb via
Capistrano, things blew up - well, not exactly,
2007 Mar 04
0
Did BackgrounDRb change my apps behavior?
I just installed BackgrounDRb the other day. It''s working great but after I deployed to production, I noticed a couple of strange things happening:
1) I have the following code in a lib module and after deploying, IS_PRODUCTION was set to false. I''m not sure why this started occurring and the only major change was the installation of BackgrounDRb and its dependencies. Could