search for: warbler

Displaying 11 results from an estimated 11 matches for "warbler".

Did you mean: warble
2011 Apr 26
0
Getting the application structure correct when using Warbler to make a .war
Hello, The instructions in Warbler say that I should run it at the root of the directory structure of an application. The index.html ended up being not in the root directory of the .war so it caused problems. Here is my just-ruby server: http://128.48.204.195:3000/ It works fine, but then, when I used warbler and put the war into...
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.
2011 Mar 31
1
Question about setting database config without database.yml
A little background. We are deploying a rails app on jboss by using warbler and the app is using rails 3.0.3. There are several parameters the customer may need to change. Some of these parameters include database connection information, ie shema, username, password, host, port, and database. We are connecting through oracle thorugh the jdbc adapter. My problem lies in t...
2011 Aug 18
3
Rails 3 - Production Environment
Hello Everyone, I need some help related to the below requirements: -> I need to setup production environment without installing Ruby or Rails or other related gems into it. I did accomplish the same using JRuby, bundler and warbler plugin. And deployed the WAR file into Apache Tomcat server. But now I have to do this without JRuby & Apache Tomcat. -> I have to setup Apache with Passenger module in production environment. So is there any way to just install and configure apache and passenger alone, and no need to insta...
2010 Oct 30
12
Anyone successfully ran JRuby 1.5.3, Rails 3, Tomcat6
Hi, I''ve been trying to get JRuby 1.5.3 with Rails 3 to run on the Tomcat6 server with little success. Has anyone been able to do this? If so, what issues did you have to overcome to get this to work? Also, is this a combination that you would recommend for a production site, or is it all too new and untested? The latest issue I''m stuck on right now is with the mysql-connector-
2010 Sep 27
3
having some issues with factory_girl and bundler...
Hi All Need some brilliants minds here :) I''m using Rails 2.3.8 & ruby 1.8 (I know, I know... ) I''ve move my gems from .gems to Bundler, but I''m having some issues with Factory_girl when I rake spec "uninitialized constant Factory" I''m following the instructions from http://gembundler.com/rails23.html. Basically: - grab all config.gem and place
2011 Dec 09
1
How To deploy Rails 3 Application In GlassFish Server
Hi, How To deploy Rails 3 Application In Glass Fish Server? Can any one help me out. Thanks in advance Regards, Yaswanth ** -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to
2013 Jul 25
0
Reported timing aren't thread-safe, are they?
...ng the timing (or accumulating them in the case of AR), which are shared among all threads. This is fine if you''re deploying using the fork approach, like done by Passenger or Unicorn (my current case), but once you decide to use a multi-threaded deployment strategy, like using Puma or Warbler on JRuby, those reported numbers are no longer reliable, specially under high load. Maybe implementing them using thread locals (Thread.current[:foo]) would be more friendly to such environments. It isn''t a perfect solution as it won''t report correct timings (whatever the cor...
2016 Apr 28
0
New book: Beginner's Guide to Zero-Inflated Models with R
...is the Bernoulli distribution. We begin Chapter 3 with a brief revision of the Poisson generalised linear model (GLM) and the Bernoulli GLM, followed by a gentle introduction to zero-inflated Poisson (ZIP) models. Chapters 4 and 5 contain detailed case studies using count data of orange-crowned warblers and sharks. Just like all other chapters, these case studies are based on real datasets used in scientific papers. In Chapter 6 we use zero-altered Poisson (ZAP) models to deal with the excessive number of zeros in count data. In Chapter 7 we analyse continuous data with a large number of zer...
2010 Jun 09
4
db connection issues in production but not in dev mode
We have an application Ruby on rails, which fires a number of queries to the database. I Suspect it is connection timeout error or something When we run the application in development mode, it works as expected. However when we switch to Production mode, we get the following error in Postgre console: -------------------------- LOG: could not receive data from client: No connection could be made
2010 Oct 28
2
ActiveRecord JDBC error Generated keys not requested
I''m getting the following error while connecting to mysql using activerecord-jdbcmysql-adapter (1.0.2). Rails 3.0.1. ActiveRecord::JDBCError: Generated keys not requested. You need to specify Statement.RETURN_GENERATED_KEYS to Statement.executeUpdate() or Connection.prepareStatement().: SET SQL_AUTO_IS_NULL=0 This occurs not matter what application I run it in to e.g. rake, rails