Displaying 20 results from an estimated 2000 matches similar to: "Making it work under JRuby"
2007 Oct 24
1
Status of Merb on JRuby
I''ve submitted a few patches on Trac to help get Merb running under
JRuby [0][1][2][3][4]. It''d be cool if any of you committers could
find the time to look them over and apply/reject them. They''re mostly
tiny, so it shouldn''t be too onerous.
With all of these patches applied, there are still 3 spec failures.
One is in the spec ''a merb mailer
2007 Dec 28
1
JtestR 0.1 released
JtestR allows you to test your Java code with Ruby frameworks.
Homepage: http://jtestr.codehaus.org
Download: http://dist.codehaus.org/jtestr
JtestR 0.1 is the first public release of the JtestR testing tool.
JtestR integrates JRuby with several Ruby frameworks to allow painless
testing of Java code, using RSpec, Test/Unit, dust and Mocha.
Features:
- Integrates with Ant and Maven
- Includes
2008 Mar 17
10
RSpec and RCov with JRuby
Hi,
I am using JRuby (trunk) and wrote a bunch of specifications for my
code. Everything works fine so far.
Now I am trying to integrate RCov in my test run. I have installed
RCov without the C extensions. I tried it with a simple script and it
worked (pretty slow, but it doesn?t matter).
But when I add the rcov options to my Rake task, RCov is not invoke
properly!
Rakefile:
2007 Oct 24
4
Need advice - which version to use?
Greetings!
I could use some advice on which version of BackgrounDrb to use in my current situation. I''ve implemented the initial, single-process multi-threaded version in a previous site, but have no experience with the new version. Current situation is as follows.
The application involves personal health information and so has very stringent session management requirements. My
2008 Jul 08
8
POST instead of GET gives 404 (newbie)
Hi,
Using JRuby 1.1 and Rails 2.0, I created a small project in NetBeans
that allows me to generate a dynamic dialplan in XML. In case it
matters, I''m using builder-2.1.2 and activerecord-2.0.2.
Going in the browser to:
http://localhost:3000/routing/dialplan?Caller-Destination-Number=0
Does exactly what I want:
<document type="freeswitch/xml">
<section
2008 Apr 15
4
trouble streaming images with send_data
Hi
I''m doing some server-side graphics with Java2D and I''m trying to
stream the resulting image to the browser using send_data. When I try
to view the image that I streamed, the browser just shows the URL in
the window as a very small image (about .4 kb) when I am using jpeg
format. For png, it tells me that the image has errors and can''t load
it.
Here''s what
2006 Nov 08
5
New Backgroundrb Speed Issues?
The new backgroundrb seemed to me to be markedly slower than the old
one. So, I ran a "side-by-side" comparison test using a worker that
I had written which parses a CSV file and loads the results into a
database. The results? The latest version appears to take twice as
long to run the same code as the previous version. Has anyone else
experienced speed issues with the new
2006 Dec 01
2
passing arguments to worker method
Hello all,
i just started using backgroundrb and i really like it a lot so far.
I finally succeeded in setting up version 0.21 and the examples from the
readme run fine.
Now i do not want to create and delete my worker anytime i want it to do
something but call repeatedly a method with arguments.
There is a arg_method defined in the readme so i guess this is a feasible
way to procede.
2007 Feb 18
2
backgroundrb launches concurrent instances of same job
Hi there,
Backgroundrb is working pretty well for me but I have a job that launches
two of the same job, apparently a minute(?) apart from each other. Should
this be happening if I have repeat interval enabled with a job_key? It
seems like it should wait until the job is finished before launching a new
instance.
--Backgroundrb_schedules.yml--
city_updater:
:class: :city_updater_worker
2007 Feb 20
2
rails 1.2.1, locomotive and backgroundrb
Hi
I just tried to move my project to rails 1.2.1 on my locomotive
development setup. It seems that backgroundrb is not willing to start
up anymore. If I switch locomotive back to 1.1.6, everthing is fine.
This is the error I get while attempting to start backgroundrb:
/Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/
2006 Nov 20
2
Passing object into results - "can''t convert DRb::DRbUnknown into Hash - (TypeError)"
Hi,
I''m using backgroundrb to get RSS feeds and pass them back to the
controller. I''m using the Ruby RSS library to parse the feed, which returns
an RSS object. After that I pass the object into the results hash, but
that''s when this error occurs. Basically, this is what I have:
rss = RSS::Parser.parse(response.body)
results[:feed] = rss # error!
20061120-15:46:19
2006 Nov 05
5
backgroundrb preview
Hi Ezra/skaar,
Wow man, the exercise was worth it. The connection closed problem with
socket as i mentioned in my earlier mails...completely disappeared,
and now i can connect only once to the socket and keep reading..till
end of its days.
Literally impossible with older release of backgroundrb.
This could also potentially solve the issues people were having with
ActiveRecord.
As i said
2007 Feb 07
2
ncluding backgroundrb issue
I have the next including files structure :
- controller fileaA.rb including line (#8): require "fileB"...
- /lib/fileB.rb with main header: load ''backgroundrb/worker.rb''
load ''backgroundrb/
worker_rails.rb''
class FileB <
2007 Sep 24
2
Is Rcov working with Jruby now?
Hello everyone:
I am currently assigned to test a big project which uses JRuby to build a
web application. The reason of using JRuby is the web application is
communicating with Java Service. I am writing test cases using Rspec and
looking for a code coverage tool. Rcov is no doubt a nice code coverage
tool. However, it is said that Rcov is not compatible with JRuby so far.
Sigh....I can not
2008 May 22
2
gem install of mongrel v 1.1.5 broken in jruby
Can''t install the latest mongrel (1.1.5) in JRuby (jruby revisions
ranging from 6600 to 6750[trunk] checked) -- the platform is not
being identified and it''s trying to do native compilation.
I''m not sure it''s actually a problem with Mongrel or JRuby however --
perhaps there isn''t a mongrel-1.1.5-java.gem on rubyforge?
Some investigation below:
$
2008 Mar 23
1
redcloth gem ragel code doesn''t build in jruby
I tried to install RedCloth-3.274 in jruby (trunk) but the install
failed when RedCloth tried to build the C code using mkmf:
I forget whether SuperRedcloth ever did build in JRuby??
I know Hpricot (which also uses ragel which can compile to Java code)
works in JRuby -- with the patch here:
https://code.whytheluckystiff.net/hpricot/ticket/131)
I might be confusing the two ...
FYI: If you
2008 Oct 31
4
RedCloth 4.1.0 released with JRuby support
Sorry it took me a week to release the JRuby version. I was out sick
most of the week.
Thanks a million, Ola Bini, for implementing the Java code!
Give it a go:
Ruby:
gem install RedCloth
JRuby:
jgem install RedCloth
Let me know how it goes for you.
Jason
2007 Aug 13
0
jruby + camping
CodeHaus has a great introduction of jruby running camping. looks really
nice to have this kind of integration
http://jruby.codehaus.org/The+JRuby+Tutorial+Part+2+-+Going+Camping
--
Andr? G. Cardozo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/camping-list/attachments/20070813/596265f1/attachment.html
2012 Jan 17
2
does jruby rspec have to use selenium?
With jruby and rspec requests, do you have to use selenium webdriver?
I''m confused, with ruby and rubyonrails using cucumber with capybara, I
didn''t have to set the default driver, what was it using and can i use that
with jruby? Things just worked w/o me even having to know about it :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Sep 07
9
LiteSpeed
Yo Zed,
Just curious -- what do you think of the LiteSpeed
server? Is it better than Lighty? Does it (gasp!) also
serve Rails apps like Mongrel? I think I read that
LiteSpeed doesn''t have proxying support.
Thanks,
Joe
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com