Displaying 20 results from an estimated 1000 matches similar to: "JRuby with Spring, hibernate, acegis"
2012 Jul 06
0
Running Rspec tests with JRuby fails
How to run RSpec tests with JRuby in a Java project? I tried to run it
with JRuby 1.7.0.preview1,
rspec (2.10.0)
rspec-core (2.10.1)
rspec-expectations (2.10.0)
rspec-mocks (2.10.1)
rspec-rails (2.10.1)
as follows:
jruby -S rspec and got the error:
javix at ubuntu:~/Development/rspec_jruby$ jruby -S rspec spec
NameError: cannot load Java class com.models.Calculator
for_name at
2011 Aug 11
0
JRuby + Rails3 + Unit Tests = "Log" issue?
Hey all,
I am working on a Rails 3.0.7 application that is using JRuby 1.6.3,
running on Debian. I keep encountering an error regarding a missing
"Log" file when I am trying to run some Unit tests (among various
other activities). The cryptic error in question:
LoadError: No such file to load -- Log
Has anyone seen anything like this before? I am baffled as to where to
even begin to
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
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
2009 May 05
3
Oracle-JRuby error
I am trying to migrate from RoR/MYSql to JRoR/Oracle. I am using Active
Record JDBC to talk to the database. The Migration process to create and
populate the database tables has been painful. My latest issue is the
method new_date is undefined in the JDBC adapter. I have the following
gems installed:
*** LOCAL GEMS ***
actionmailer (2.2.2)
actionpack (2.2.2)
activerecord (2.2.2)
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
2011 May 05
0
jruby PATH and RUBYOPTS integration
Hi,
I download the last jruby version and install the rspec gem using jgem
to install.
After it, I export RUBYOPTS=rubygems to guarantee that the spec can be
found.
Trying to run the spec by normal mode I got:
jonatas at branco:~/jruby-1.6.1$ jruby -S spec
LoadError: no such file to load -- spec/autorun
require at org/jruby/RubyKernel.java:1038
(root) at /usr/bin/spec:2
Trying to execute
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:
$
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
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
2010 Jan 21
1
running specs on JRuby w/nailgun
Hi all,
I know this is probably more of a JRuby question but I''m guessing that
people on this list may have gone down this path before. At work we are
starting a new project using JRuby. The startup speed for testing an
app is very painful. Nailgun helps a lot with that. It only helps with
the slow startup time of JRuby though and does not address the use case
of having gems
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?
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
2008 May 02
0
A word about compatibility with JRuby and Ruby 1.9
All,
Due to a number of recent bug reports regarding FXRuby''s compatibility
with JRuby, I feel like I need to clear something up, and that''s that
FXRuby will never (well, "almost certainly never") work with JRuby.
This problem isn''t unique to FXRuby; it''s true for any C/C++-based
Ruby extension. See this page:
2006 Nov 24
0
Calling Java in Rails (JRuby, jrb, yajb) - real-world experience?
Hi,
I''d be interested to hear from people who have used either JRuby or one
of the Java-Ruby bridges like jrb or yajb to call out to Java classes
from Rails.
Which bridge did you use, how did it work out? Which one do you
recommend?
Is anybody running Rails on JRuby on a production server, or is Rails
on JRuby still to experimental for that?
Thanking you in advance,
Elmar
2014 Jun 04
0
Getting random threading errors in jruby (1.7.3) & rails 2.3.17 application
I am running jruby (1.7.3) & rails 2.3.17 application whose apis are
exposed to outside app. When I add "config.threadsafe!" in my
development.rb/production.rb & hit lot many api requests in a second then I
am getting following errors randomly for some of the api requests:
1. TypeError (NilClass can't be coerced into Float)
2. RuntimeError (can't add a new key
2008 Jan 09
0
Cruisecontrol.rb & JRuby ?
Hi,
I searched the archives of this list and came across a few posts that
indicated that Cruisecontrol.rb may support JRuby:
http://www.openlogic.com/blogs/2007/09/setting-up-a-jruby-project-in-cruisecontrolrb/
http://www.nabble.com/cc.rb-under-JRuby-to12101231.html#a12101231
Anybody using it that way?
Any advice, gotchas etc.?
Apologies if I am missing other resources.
Thanks,
Mike
--
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