similar to: Getting random threading errors in jruby (1.7.3) & rails 2.3.17 application

Displaying 20 results from an estimated 1000 matches similar to: "Getting random threading errors in jruby (1.7.3) & rails 2.3.17 application"

2013 Oct 09
0
getting selenium working with jruby/sinatra/cucumber/webrat on windows
I am trying to run cucumber/webrat with Sinatra on Jruby 1.7.3 (1.9.3) on Windows. It seems to work ok, but when I try to add selenium to webrat. I get the error shown below. It seems like it thinks it is in a linux environment or something as the error happens when it tries to start selenium server and there is a "&" at the end of the argument chain. I took a look at capybara
2011 May 05
9
[threadsafe] Arel ToSql visitor is not threadsafe
Hey, We hit a bug today because Arel::Visitors::ToSql is not threadsafe. Here is what is happening: Arel::Visitors::ENGINE_VISITORS is a cache of visitors instances. These instances are not inherently threadsafe because it contains state ''@last_column'', ''@connection'' that is shared between threads. The other variables ''@pool'',
2020 Sep 15
2
[ELF] String literals don't obey -fdata-sections
Hi there, When I compile my code with -fdata-sections and -ffunction-sections, I still see some unused string in my shared library (Android). Actually, the strings appear together inside a .rodata.str1.1 section instead of getting their own section. It seems that the C-string literal are considered differently than other constant and the -fdata-sections is not respected in
2005 May 20
0
Message Stopped by Bothways : Block Greater than 40 recip
MailMarshal has stopped the following message: Message: B0000edbce.00000001.mml From: samba@samba.org To: 0HMN001SJJEO7P@meandermc.nl; 0HMN002PGJ3XTO@meandermc.nl; 0HMN003MSRVTJ4@meandermc.nl; 0HMN004HCKM5BS@meandermc.nl; 0HMN00CLFJAHEI@meandermc.nl; 0HMU001QIAZXD7@meandermc.nl; 0HMU00DMEHZEM8@meandermc.nl; 0HN50004MEFYL8@meandermc.nl; 3Darjan@meandermc.nl;
2004 Dec 02
2
installing Microsoft Office under wine
I have been unable to install Microsoft Office 2000 under wine on several Fedora Linux machines. The problem seemed to start with the June 2004 release of wine and has persisted for every version I have tried up to and including the latest 12/01/2004 version. I have tried both RPM install and compiling from source with similar results. I have one machine running the May 2004 wine that
2004 Dec 02
1
Microsoft Office XP Install problems on wine
I'm trying to install Office XP on Fedora 3, with the 12/1/2004 wine build from the source. I tried the suggestions given by Ronald Nave on Dec 2/2004 (installing DCOM98, windows installer), but to no avail, and I get the following errors, any help/suggestions are appreciated! ------------------------------------ fixme:wininet:FindFirstUrlCacheEntryA ((null), 0x7fd943b0, 0x5b41ea38): stub
2007 Aug 29
1
What makes Rails'' routes non-thread-safe?
I was reading here and there about the differences between Merb and Rails [1] and became curious about statements such as this: > It is threadsafe with configurable Mutex Locks (Routing is also > threadsafe) Having mucked with the routes system, I had this awful feeling that I don''t understand threading well enough to know if my contribution is "thread safe".
2012 Oct 05
1
Is Rails Logger Thread Safe?
Is Rails Logger truly not Thread Safe? http://log.kares.org/2011/04/railslogger-is-not-threadsafe.html This seems like an issue that should have been picked up quite a long time ago. I just set config.threadsafe! in my config/application.rb and my log output from rails server has completely disappeared. If the logger is not thread-safe, I cannot help but wonder how much of the Rails core is
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
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
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 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
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
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:
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 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
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
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
2012 Mar 04
1
JRuby devkit "gem install win32-api" fails. what to do?
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