similar to: Has anybody succeed in getting Rails 3 to work in production?

Displaying 20 results from an estimated 3000 matches similar to: "Has anybody succeed in getting Rails 3 to work in production?"

2010 Sep 01
4
NoMethodError: undefined method `force_encoding' for "Conten
Hi everyone! Im trying to install mechanizer from http://github.com/tenderlove/mechanize. I`ve clone the project into /tmp folder. When I do rake inside the folder /tmp/mechanizer it gives me this error: mac159180:mechanize renatosis$ rake (in /private/tmp/mechanize) /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -w -Ilib:bin:test:. -e ''require "rubygems";
2010 Jun 10
9
Rails3 beta4 + Ruby 1.9
When I try rails console using Rails3 beta4 and Ruby 1.9.1-p378 I cannot save a record: > rails console Loading development environment (Rails 3.0.0.beta4) ruby-1.9.1-p378 > g = Game.new => #<Game id: nil, player_id: nil, versus_id: nil, finished: nil, created_at: nil, updated_at: nil> ruby-1.9.1-p378 > g.save NameError: undefined method `<=>'' for class
2009 Nov 04
7
About Unicorn Rack handler
Hi, A couple days ago, I was trying to run Unicorn for Ramaze, and found that `Unicorn.run'' didn''t share the same interface with other Rack handlers, i.e. `options[:Host]'' and `options[:Port]'' Because of this, I can''t just use: Rack::Handler.register(''unicorn'', ''Unicorn'') And invoke this:
2011 Sep 02
4
You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3.
Hi, guys, I got the below error message when i typed this command in terminal "rackup config.ru" , the file config.ru is rails ''s configuration file. You have already activated rack 1.3.2, but your Gemfile requires rack 1.2.3. Consider using bundle exec. (Gem::LoadError) So, how should i do , thanks a lot. -- You received this message because you are subscribed to the
2014 Sep 16
2
virt-v2v -ic question
Hi, I am trying to convert from esx server to local directory a VM names CSB, Its build from source 77b371b18b6a7ad37105a595931514f542a04396 When running: LIBGUESTFS_BACKEND=direct ./run ./v2v/virt-v2v -ic "esx://root@10.35.5.45/?no_verify=1" -o local -of raw -os /tmp/v2v CSB I get the following: --------------------------------------------------------------------------- [ 0.0]
2014 Sep 21
2
Re: virt-v2v -ic question
On 17.09.14 10:02, Richard W.M. Jones wrote: > On Wed, Sep 17, 2014 at 10:58:18AM +0300, Shahar Havivi wrote: > > On 16.09.14 15:09, Richard W.M. Jones wrote: > > > On Tue, Sep 16, 2014 at 05:06:57PM +0300, Shahar Havivi wrote: > > > > I am using upstream qemu while using this local variables: > > > > export PATH=/home/shahar/git/qemu:$PATH > > >
2009 Sep 20
5
Receive, process and send email
We wish to do the following: 1. receive an email with an attachment 2. process the email body to get some information from it 3. send an outbound email to an email address based on the information derived from step 2. The email will include the attachment received in step 1 I'm not sure where to start with this one so any suggestions would be appreciated.
2008 Mar 05
5
C compiler cannot create executables when building zaptel
When attempting to build zaptel I get the following error: configure:2184: error: C compiler cannot create executables vi config.log configure:2066: $? = 0 configure:2073: gcc -v >&5 Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release
2011 Aug 16
6
Unicorn logging in production env
Hi All, as I can see on https://github.com/defunkt/unicorn/blob/master/lib/unicorn.rb#L53 the?Rack::CommonLogger used only in development env and in weird evn called "deployment". Any chance to add "production" to this case? Serg Podtynnyi
2007 May 01
5
OT: Capture Asterisk traffic
I want to capture all my Asterisk traffic (including RTP) and then analyse it. My plan was to use tcpdump and then analyse with Wireshark. The following works: tcpdump -i eth0 -s 0 -w /tmp/tcpdump.1 But I want to be a bit more selective: tcpdump -C 100 -W 10 -w /tmp/tcpdump -i eth1 -s 0 udp and dst port >= 5060 This doesn't capture the RTP traffic. Could anyone advise what I'm
2012 Dec 19
1
Need DETAILED help using p2v
This is something I want to do over my holiday vacation to continue to broaden my skills. I am experimenting (learning) about moving a Win7 physical drive to a VM under my CSB. I'm struggling a little on the steps when using our RH documentation (perhaps it is clear if you are an RHCE but it isn't to someone trying to learn from it initially combined with Google searches) so asking if
2003 May 26
2
internet.R test hangs if http proxy needed (PR#3108)
Full_Name: Barry Rowlingson Version: 1.7.0 OS: RH8/Mandrake 9.1 Submission from: (NULL) (194.80.32.8) internet.R in the tests directory hangs during 'make check' if an http proxy is needed for http access from the machine. This happens in the httpget function defined therein. It tries to make a direct socket connection to port 80 of a remote machine, and if local network policy does not
2010 May 12
10
Rails and PostgreSQL ???
Hi every one How are you? after a days and searching in forums i still can not find some things that helping me to connect Rails with postgre SQL of course those are helpful but not for a stupid person like me :D So i need my friends helping me here and advice me to how can i connect this two things (ROR and Postgre Sql) I need your help so much My eyes going blind because of searching and
2014 Sep 17
3
Re: virt-v2v -ic question
On 16.09.14 15:09, Richard W.M. Jones wrote: > On Tue, Sep 16, 2014 at 05:06:57PM +0300, Shahar Havivi wrote: > > I am using upstream qemu while using this local variables: > > export PATH=/home/shahar/git/qemu:$PATH > > export LIBGUESTFS_HV=/home/shahar/git/qemu/x86_64-softmmu/qemu-system-x86_64 > > > > Is that sufficient? > > Yup, upstream qemu should
2013 Jan 29
2
unicorn 4.6.0pre1 - hijacking support!
Installing from RubyGems.org: gem install --pre unicorn >From db919d18e01f6b2339915cbd057fba9dc040988b Mon Sep 17 00:00:00 2001 From: Eric Wong <normalperson at yhbt.net> Date: Tue, 29 Jan 2013 21:02:55 +0000 Subject: [PATCH] unicorn 4.6.0pre1 - hijacking support This pre-release adds hijacking support for Rack 1.5 users. See Rack documentation for more information about hijacking.
2010 Sep 08
5
--delete-during acts like --delete-before
Hello, I use rsync v3.0.7 with "--delete-during", but it appears to act more like "--delete-before". I've checked the docs and list archives, but I am still discovering some of the subtleties of rsync, and I can't see where I'm going wrong. There's an example of my issue below... can anybody set me straight? =-) o We archive a small number of large files,
2007 May 26
2
chan_capi install problems
I have installed Asterisk 1.2.18 am am trying to install chan_capi. The current RPM ftp://ftp.melware.net/Trixbox/chan_capi-1.0.1_1.2.14-1.i386.rpm installs but Asterisk dies on startup. The following appears in the log: May 27 03:28:18 asterisk1 kernel: divas: Diva Server V-4BRI-8 IRQ:7 SerNo:25290 May 27 03:28:18 asterisk1 kernel: divas: started with major 252 May 27 03:54:17 asterisk1 init:
2007 Nov 07
2
Determination of billsec
How is the billsec field calculated in CDRs? I have a situation where billsec is being reported as 0 despite the call being answered and a conversation occurring. An example record follows: '2007-11-06 21:36:50', '6495566778', '6495566778', '0116495566778', '1100012_1', 'Local/0116495566778 at 1100012_1-887b,2',
2004 Nov 16
1
lme, two random effects, poisson distribution
Hello, I have a dataset concerning slugs. For each slug, the number of pumps per one time slot was counted. The number of pumps follows Bi(30, p) where p is very small, thus could be approximated by Poisson dist. (# of pumps is very often = 0) The slugs were observed during 12 time slots which are correlated in time as AR(1). The time slots are divided into two categories: Resting time
2007 Feb 12
2
make check failure, internet.Rout.fail, Error in strsplit
I'm trying to build R on RedHat EL4. The compile went fine, but a make check ran into a problem and produced a file "internet.Rout.fail". Judging by the last part of that file, it was trying to run an R routine called "httpget" to retrieve the URL http://www.stats.ox.ac.uk/pub/datasets/csb/ch11b.dat. The precise error it encountered was: Error in