similar to: Rails 3 - Production Environment

Displaying 20 results from an estimated 9000 matches similar to: "Rails 3 - Production Environment"

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-
2009 Mar 12
7
Is Mongrel dead?
Is Mongrel dead? When I look at http://mongrel.rubyforge.org/wiki/News the latest news was from close to a year ago, when last version of Mongrel was released. A look at the tickets shows a rather sad picture with only two developers “evanweaver” and “luislavena” contributing to the bug fixes lately. Please understand that I am not complaining – I just want to know the situation so that I can
2009 Oct 29
3
How to obtain the context path in a Jruby app on Tomcat?
Hi all, I successfully deployed my JRuby on Rails app on Tomcat In a jsp page I''d use ${pageContext.request.contextPath} to obtain my context path.How could I do this in a Ruby controller? Thanks Rafael Roque -- Posted via http://www.ruby-forum.com/.
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
2009 Oct 12
15
We're sorry, but something went wrong on Tomcat
I am using JRuby and I have to deploy on Tomcat. My web app is working fine in the dev envirmonment, with Mongel, but when I deploy on Tomcat I get "We''re sorry, but something went wrong on Tomcat". The problem is that production.log only shows: # Logfile created on Mon Oct 12 12:54:36 +0100 2009-bash-3.00 The file permission and directory are 777. Any idea how I can
2009 Aug 13
6
Mongrel Memory Usage
All, I''m trying to figure out the best way to estimate the amount of memory usage that will be taken up by Mongrel and I''m hoping that you have some estimates that can help me. I''m currently estimating the following: Memory Required = Number of running puppetmasters * size of manifests * number of clients managed The mongrel model doesn''t seem to *ever*
2010 Dec 06
15
Windows new installation - Always problems
I would like to know if there is a way to ''package'' an application with all the associated gems and ship it to a new server and having it to "just work" in a Windows environment. Although I have never done it I know that Rails can be frozen into the application. I am wondering if I can do the same thing with other gems. I have found this
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
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
2009 Dec 06
9
Route error to Admin namespace
Hi. I have some apps that i have "admin" areas to the clients manager the app. This "admin" is a directory on my controllers path, like this: my_site --> app -->-->controllers -->-->-->admin And my controllers in "admin", i use the correct namespace(example for clients_controller): class Admin::ClientsController < AdminController Only doing
2013 Jul 25
0
Reported timing aren't thread-safe, are they?
I was taking a look at the implementation for reporting the time spent on each part of an action processing. Rails, by default will report timing for the view and db (ActiveRecord). Both use class attributes for storing 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
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 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
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 the fact that I cannot
2020 Apr 28
4
Tomcat or what on CentOS 8?
Hi, We're running some web apps on CentOS 6 on Tomcat 6 shipped by the distribution. As time goes by we'd like to move on to CentOS 8 and Tomcat 9 or whatever is appropriate. My question is, what do others use now that Tomcat is not shipped anymore with CentOS? Do you run some JBoss/WildFly instead or still running Tomcat? And, how do you install/manage those installations. Do you
2012 Dec 11
1
"GET /production/certificate/puppet-client2.tcl-oob.net? HTTP/1.1" 500 11298 "-" "-"
Hi, I have puppet 3.0.1 installed with passenger and the clients are unables to request a certificate. I get a httpd error. 10.1.1.9 - - [11/Dec/2012:16:09:44 +0000] "GET /production/certificate/puppet-client2.tcl-oob.net? HTTP/1.1" 500 11298 "-" "-" When I run puppet master without passenger, I am able to request and sign certificates. I see this in http
2012 Apr 13
0
console for JRuby/Sinatra with Tomcat ?
We are using Ruby Sinatra running on JRuby with tomcat as a server. I saw where it was claimed you could get a console in Sinatra by doing something like this: irb -r my_sinatra_app.rb for me that would be jruby -S rb my_sinatra_app.rb but I get this error when I do that as obviously tomcat must initialize some things: C:/Tomcat60/webapps/ROOT/WEB-INF/vendor/activerecord-jdbc-
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 Nov 20
1
running tests on gem
Is there a way to run he tests with cjust the gem installed? I wanted to run the tests on the gem and tried: $ jruby -S gem list RedCloth *** LOCAL GEMS *** RedCloth (4.1.1) $ jruby --version jruby 1.1.5 (ruby 1.8.6 patchlevel 114) (2008-11-14 rev 6586) [i386-java] [jruby.git (master)]$ jruby -S gem check -test RedCloth ERROR: While executing gem ... (OptionParser::InvalidOption)
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: $