Displaying 20 results from an estimated 12000 matches similar to: "WHy is rails so annoying to deploy?"
2009 Sep 26
2
Config XLSUITE in Windows
I try to config XLSUITE in my system. I''m facing some problem i resolved
it one by one.
now im facing this error
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails 2.2.0 application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
Exiting
2007 May 10
12
shared descriptions -- a couple of issues
Hello All,
I''ve just upgraded to rspec/rspec_on_rails 0.9.3 and am very excited
about shared descriptions. They couldn''t have come at a better time: I
just finished refactoring some REST controllers so that the bulk of
the actions are inherited from a superclass. Now I can write the
specs once, too. :)
I''ve hit a couple of snags, though. I thought I''d
2007 Mar 19
0
PGError "unknown column" on polymorphic association column
Hi all !
This is very strange. I am attempting to get my application running
on PostgreSQL (from MySQL), and I get this error:
ActiveRecord::StatementInvalid: PGError: ERREUR: la colonne «Party»
n'existe pas
: SELECT * FROM contact_routes WHERE (routable_type = "Party" AND
routable_id = 1000013) ORDER BY position DESC LIMIT 1
2009 Oct 21
3
Rails generator fails to generate all files
Hi
Ive lost all idea of why this can happen
I normally use rails to generate a new project
rails myproject -d mysql
inside the myproject directory normally there would be a file called
application.html.erb, with in the public directory a file called
style.css
Now I dont get anything at all, they are missing
All my previous projects have those files,
using 2.3.4 Ruby 1.9.1 Windows
Any
2009 Mar 18
1
uninitialized constant ActionController::AbstractRequest (NameError) with rails 2.3
Hi guys,
I''ve just installed Rails 2.3 and I am using the clearance plugin
with cucumber features. When I run rake features I get this
"uninitialized constant ActionController::AbstractRequest (NameError)"
error from webrat trying to call AbstractRequest which now is called
Request (I think). My question is : Is there any way to alias the old
name to have backwards
2007 Apr 03
5
Inifinite loop problem with DRb server
Hi all,
We''re attempting to use Ferret with the DRb server at the moment, and
it doesn''t work, at all...
= Executive Summary
The DRb server process keeps on calling the remote index to the DRb
server process... Which means DRb is calling itself, and itself, and
itself, until Ruby kills the Thread with a SystemStackLevel error.
= The excruciating details...
# Mongrel is
2009 Jun 28
1
ThePirateBay.org take advantage of HTML5's <VIDEO>
Word just came in from TorrentFreak that ThePirateBay.org have been
working on a streaming video website for countless months that takes
advantage of the free media formats OGG, Theora and Vorbis.
While filesharing in itself is a controversial subject, this will place
HTML5's <VIDEO> and <AUDIO> tag--and more importantly the OGG
Theora+Vorbis multimedia format--in the
2005 Nov 14
3
Error when building on OSX 10.4/wxWidgets 2.7
I''ve installed ruby 1.8.3, wxWidgets 2.6-cvs, and swig 1.3.27.
When running rake here''s the error I get:
src/App.cpp:1419: error: ''CreateLogTarget'' is not a member of ''wxRubyApp''src/App.cpp: In function ''VALUE _wrap_App_CreateLogTarget(int, VALUE*, VALUE)'':src/App.cpp:1612: error: ''class wxRubyApp'' has no
2005 Jun 22
17
[PATCH] fix broken ACM
The latest change to ACM makes it fail to compile. This patch fixes the problem.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
$ diffstat acm.patch
acm/acm_core.c | 61 ---------------------
include/acm/acm_hooks.h | 135 ++++++++++++++++++++++++++++++++++--------------
2 files changed, 96 insertions(+), 100 deletions(-)
_______________________________________________
2009 Sep 11
2
Anyone know why __END__ and DATA don't work in Rails?
When writing Ruby you have the option to end the file early with
__END__. Anything after the __END__ is assigned to a constant called
DATA which is available within the file.
I recently tried using this in Rails and it didn''t work. Instead I get
an uninitialized constant exception. Anyone know why?
Has it been disabled in Rails?
thanks
Gavin
2004 Feb 08
2
xeno-1.2.bk compilation question?
The system is Mandrake-9.1 Linux wih gcc-3.2.2.
I am trying to compile xenolinux-2.4.24 (with vanilla sources from
ftp.kernel.org for linux-2.4.24). The steps of
mkbuildtree
ARCH=xeno make menuconfig
ARCH=xeno make dep
produce no errors, but
ARCH=xeno make bzImage
results in following error messages.
Any pointers will be appreciated.
-ishwar
---
gcc -D__KERNEL__
2006 Feb 07
1
Footprint - kickstart management tool
Hi,
I'm planning to create a new tool to simplify creation and management of
kickstart-files (as well as automate some of the tasks that come with
automated installation).
If you know of another mailinglist that fits this subject, or you know of
similar projects (because I can imagine there are countless
implementations inside companies) please let me know. I'm just in the
design
2005 May 16
6
x86_64 build broken?
I am not able to build the latest x86_64 xen-unstable on SLES9 SP1
x86_64. Here is the build output. Am I doing anything wrong here?
Aravindh
gcc -DPIC -m64 -Wall -Werror -O3 -fno-strict-aliasing -I
../../tools/libxutil -I. -Wp,-MD,.xc_ptrace.opic.d -fPIC -c -o
xc_ptrace.opic xc_ptrace.c
In file included from /usr/include/asm/sigcontext.h:4,
from
2005 Dec 09
7
UserEngine - rake bootstrap aborted
Hi there,
I''ve just installed login_engine and user_engine from the repositories,
followed the setup procedures as documented in:
vendor/plugins/user_engine/README
But I''m getting the following failure:
vince@vaio:~/Projects/Booking$ rake bootstrap
(in /home/vince/Projects/Booking)
rake aborted!
undefined method `edit'' for class `UserController''
2009 Apr 06
11
How do I fix this? Power went down.
I was successful in reaching page 184 in the book "Agile Web
Development with Rails" 3rd edition and while running the website with
PostGreSQL as the backend, the power went down. The PostGreSQL
database contents look OK and so do the source code files I was
editing. But whenever I click on any "Add To Cart" button in the
catalog, I get the following information in the
2005 Sep 08
4
Booting FreeBSD diskless in DomU
Using the 2.0.6 demo cd image, I booted the supplied freebsd image and rsync''d
the file system to an NFS server. However I don not seem to be able to
succesfully boot from it the system just hangs here:
xn0: bpf attached
xn0: Ethernet address: aa:00:00:61:1c:d4
lo0: bpf
I have modified /sbin/start_freebsd.sh and /etc/xen/freebsd.py to generate
the following configuration:
xendemo:~#
2003 Oct 21
7
Help on domain creation
Hi all,
I am running the current xen-unstable and had the following error message
when trying to create domain1.
# ./xenctl script -f/etc/xen-mynewdom
Domain defaults:
name XenoLinux
size 98304
vifs 1
domainImage /boot/xenolinux.gz
domainInitRD null
rootDevice /dev/hda5
rootArgs rw
usrDevice null
NWIP
2005 Dec 30
6
call a method once per page request
Hi,
I''m wondering if there is a simple solution to call a method once per
page request.
I tried to place my call in a before_filter in ApplicationController but
it''d called a second time if I use render_component from a view.
Seems to me that a hook should be added in Dispatcher#prepare_application.
Context: working on i18n, I''m trying to check lang either from uri,
2004 Aug 28
4
iSCSI root
As promised, here''s what I did to get iSCSI root running under XenU under Debian 3.1 (Sarge):
Be running linux 2.6 under XenU.
Build XenU with SCSI disk support (I did them as modules)
Get linux-iscsi 4.0.1.8 from http://sourceforge.net/projects/linux-iscsi/
Build it according to the instructions there (i found it a bit tricky) and install under your XenU
Get iscsi-init 4.0.1 from
2009 Aug 14
9
Rescuing from REXML::ParseException
Hello,
When I call an action with some invalid XML or JSON data a parse
exception gets raised from within Rails/Ruby (REXML or
ActiveSupport::JSON). The problem that I''ve got is how to handle these
exceptions. In my application_controller.rb I have the following for
debugging purposes:
def rescue_action_in_public(exception)
respond_to do |request|
request.all { render :text =>