similar to: running specs on JRuby w/nailgun

Displaying 20 results from an estimated 3000 matches similar to: "running specs on JRuby w/nailgun"

2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when I try and install mongrel with gem it blows up when the fastthread dependency tries to do a native compilation. I couldn''t find a copy of the gemspec in the svn checkout but looking at the one installed when gem installing mongrel didn''t show any platform differentiation. There is platform
2010 Oct 06
2
rspec2 observations
Just a few observations now that I have completed the upgrade from RSpec-1 to RSpec-2. 1. In my project (2800 examples across about 40 files), MRI 1.9.2-p0 takes roughly 3 times longer to complete the spec run. Runtimes grew from 2.2s (rspec 1.3.0) to 6.1s (2.0.0.rc). 2. Rubinius 1.1.0 runs RSpec-2 without error. 3. JRuby 1.5.1 runs RSpec-2 without error. 4. Both Rubinius and JRuby print a
2009 Jun 15
6
Spork and Merb and rSpec
Andy Shipman wrote: > When running spork on a merb application, whenever a spec is run I get > the following error from the Spork server. > > /opt/local/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/bootloader.rb:1358: > [BUG] rb_gc_mark(): unknown data type 0x3c(0x2203d0) non object > ruby 1.8.7 (2009-06-08 patchlevel 173) [i686-darwin9] > > Which crashes the
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
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 Jan 24
0
JRuby, JNA, Windows
Hi all, Here''s a short example of how to interface with JRuby and the Windows API I thought I''d share: require ''java'' # LoadLibrary() Kernel32 = com.sun.jna.NativeLibrary.getInstance("kernel32") # GetProcAddress() GetCurrentDirectoryA = Kernel32.getFunction(''GetCurrentDirectoryA'') # You can also do -> buf =
2007 Dec 28
1
WEBrick.. won't start and showing '/rails-2.0.2/lib/initializer.rb:159:in `require_frameworks': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError)' errors
Hi WEBric won''t strat and showing the following errors:- => Booting WEBrick... /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/rails-2.0.2/ lib/initializer.rb:159:in `require_frameworks'': Could not find RubyGem jruby-openssl (>= 0.0.0) (RuntimeError) from /mnt/slash/home/akumar/jruby-1.1b1/lib/ruby/gems/1.8/gems/ rails-2.0.2/lib/initializer.rb:156:in
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
2008 Jul 22
2
can''t execute a build - on windows + jruby
Hi all, Am trying to get cc.rb working on a windows machine, running under JRuby. I patched line 19 of project_migration.rb to use jruby, instead of ruby. execute "jruby #{File.join(migrate_scripts_directory, script)} #{@data_dir}" The add project works fine, but when I run start, the webpage just hangs on the ajax request to build - never actually executes the build at all, or comes
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 Nov 09
1
Making it work under JRuby
I''ve been having problems starting the daemon under JRuby, has anyone else tried this? What I''m trying to accomplish is running Rails on regular ruby and BackgroundRB on JRuby. I''m working on a project that requires me to use a java-api to communicate with a service and it should work so that when a user logs on to the rails app, it actually authenticates through the
2013 Feb 14
4
Struggling with Jruby Rails + jdbc driver
hi all, I am having a hard time trying to find out what''s wrong with my setup. It used to work smoothly until I decided out of the blue to do a selfupdate and upgrade outdated on MacPort, then things started going south very quickily. Since MacPort kinda broke, I pull it all out and re-install the ports I have before, which went pretty smoothly. Then to my surprise any command I
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
2012 Mar 04
1
JRuby devkit "gem install win32-api" fails. what to do?
2008 Jan 23
6
JRuby and callbacks?
Hi all, Any Java/JRuby folks on the list? I''d like to see if we can implement api.c for JRuby using JNA and see how it handles the callbacks. I''m not a Java guy, nor do I know JNA, but I''ll take a stab at it if no one else on the list does. Here are a couple of useful links: http://www.infoq.com/news/2007/09/jna-jruby https://jna.dev.java.net/ Regards, Dan This
2007 Jun 08
1
JRuby and tests
Using JRuby / ActiveRecord-JDBC / PostgreSQL 8.1 I get jruby --command rake test (in /Users/stevel/Publisher) rake aborted! Task not supported by ''jdbc'' Is it really the case that testing is not yet supported by ActiveRecord-JDBC or am I missing something obvious? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the
2008 Dec 12
2
jruby em
What repository should I pull from to get the latest snapshot of the EM java code for jruby? cr
2011 Mar 06
2
Can JRuby be used to "compile" or "encrypt" code?
Coming from PHP, I''m used to seeing things like Zend Encoder that can take PHP and pseudo-compile it, obscuring the source (useful in the event you want to sell a product written in said language). I haven''t found a direct equivalent with Ruby (though if you know of one I''d like to hear about it), but it occurs to me that JRuby might be used to do something similar.
2009 Apr 04
1
JRuby on Rails
Hi This is my first post, and i would like to know if here we can talk about JRuby on Rails too, or just Ruby on Rails. If we can talk about JRuby, i would like to ask about a problem. I have installed the lastest version of jruby, rails, and activerecord for jdbcmysql adapter. When i run: # rake db:create Anyone error messages apper, and anyone database is created. Is this a know issue?