Displaying 20 results from an estimated 10000 matches similar to: "32 bit ruby versus 64 bit gem ELF issues"
2010 Dec 03
1
ERROR: Failed to build gem native extension.
Hello, I am currently not able to instal mongrel, I run a Linux Ubuntu 10.04
system with Gems 1.3.7 when I do a "sudo gem install mongrel" I get this
sequence of messages:
$ sudo gem install mongrel
Building native extensions. This could take a while...
ERROR: Error installing mongrel:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb checking for main() in
2009 Sep 10
2
cannot start mongrel after Snow Leopard upgrade : Wrong Architecture !!!
(MacBook Core 2 Duo.. but 32-bits kernel... upgraded to SL)
Rails 2.3.4 / Ruby 1.8.7
fine with Webrick
Booting WEBrick
=> Rails 2.3.4 application starting on http://0.0.0.0:3000
but trying to start Mongrel ( btw should be the default in dev mode
when installed ?)
mongrel_rails start -d
/usr/local/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/
http11.bundle:
2009 Dec 30
4
Error running Mongrel on Ruby 1.9
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<div class="moz-text-html" lang="x-western">
<span class="Apple-style-span"
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
Hello,
I am trying to use the paperclip plugin in my rails app to upload images
for posts. I am using Rails 2.0.2 and ruby 1.8.7 on Ubuntu 10.04 os for
project specific purposes.
I am referring to the following tutorials for this :-
1. http://railscasts.com/episodes/134-paperclip?view=comments
2.
http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails.html
I did a git clone on the
2008 Dec 11
1
dtrace (1M) manpage/ docs seem incorrect re 32/64 bit
The dtrace(1M) manpage seems to be incorrect, it states:
-32 | -64
The D compiler produces programs using the native data
model of the operating system kernel. You can use the
isainfo -b command to determine the current operating
system data model. If the -32 option is specified,
dtrace forces the D compiler to compile a D
2005 Jan 06
0
[PATCH] ELF headers
This is a patch that I've had kicking around that I never sent in. With
it applied I can compile the module programs from module-init-tools:
diff -uNr klibc-0.178/include/sys/elf32.h klibc-0.178-fogo/include/sys/elf32.h
--- klibc-0.178/include/sys/elf32.h 2004-01-30 14:40:51.000000000 -0700
+++ klibc-0.178-fogo/include/sys/elf32.h 2004-09-20 09:15:58.000000000 -0600
@@ -7,6 +7,10 @@
2010 Apr 10
1
ruby 1.8.7p249 + rails 2.3.5 + Snow Leopard = hung processes?
A few weeks ago I updated my development computer to Snow Leopard
(finally). I put it off because I was in the middle of a project, and
it seems its a good thing I did. Last week I started something new and
it seems that any rails related ruby process will get ... stuck, I
guess is the best word. I''ve seen it happen as soon as a minute, or
take as long as an hour. It happens for
2008 Mar 03
0
[LLVMdev] -m32 gives me mixture of 32- and 64-bit code
Hi all,
after reading and learning much more about GNU's configure and compile
machine than I ever wanted ;-), I arrived at configuring llvm-2.2 like
this:
CFLAGS=-m32 CXXFLAGS=-m32 ./configure --prefix=$HOME
The assembler errors are finally gone (phew!, and thanks for all the
help!), but I get linker errors now:
llvm[3]: Linking Release Object Library LLVMX86.o
llvm[3]: Compiling
2008 Mar 25
1
Moving to ROR 2.0.2
Looking for any gotchas:
Currently running ROR 1.2.3 want to move to 2.0.2. I see the
recommendation to move to 1.2.6 fix the deprecations and then to 2.0.2,
which I plan to do.
I am currently running lightty with SCGI (zed shaw''s version 1.7) on
both win and UNIX platforms without issue.
I have looked at the new features and can iron all that out:
- pagination as plug
- adapters as
2008 Jun 01
3
rbx gem
Hello. Some time ago I committed a Rubinius assembly-based HTTP parser
generated from Ragel to the Rubinius git repository. Yesterday I made a
Mongrel gem which installs and works on Rubinius. This basically involved
commenting out anything to do with fastthread or the http11 C extension.
If there''s interest in releasing a Rubinius-targeted gem, I can make changes
to the Rakefile to
2006 Apr 28
4
mongrel error on debian sarge
Hi,
I cannot get mongrel working on i686 debian sarge, whereas it works
quite well on another ppc box under debian unstable.
Instead I can use scgi_rails or webbrick without any problem.
Here is the error:
# mongrel_rails start
/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/rails.rb:28:
uninitialized constant Mongrel::HttpHandler (NameError)
from
2006 May 24
3
Mongrel install/compile problems on Ubuntu dapper
Installed gcc and make and the default friends that they bring along, then
did
# sudo gem install mongrel
and got the following...
andre at andre:~$ sudo gem install mongrel
Attempting local installation of ''mongrel''
Local gem file not found: mongrel*.gem
Attempting remote installation of ''mongrel''
Select which gem to install for your platform (i486-linux)
1.
2005 Dec 22
2
Lightty idle-timeout - does it work?
Rails 1.0 on RedHat with MySQL
It seems that my app stops functioning overnight [actually I am
assuming that it is after a period of inactivity]. Googling around
for solutions, it seems that it might be an issue with timeouts on
the MySQL session. A suggestion I found was to a) increase timeout on
MySQL [don''t want to do that]; b) add idle-timeout parameter to
Lightty. So I
2005 Jun 17
1
[LLVMdev] ELF / COFF Summary
> In the case of the ELF writer, we want a similar structure. Anything that
> can be simple exposed as data should be (e.g. whether the target is 32- or
> 64-bit), anything more complex should be exposed as virtual methods that
> are overloaded. The ELF spec makes it very clear what parts of the file
> format are common across targets and what the variations are caused by.
2012 May 04
7
Unable to Install ruby-odbc gem on windows 2008 server bit
Hi,
I am trying to install the ruby-odbc gem on windows 2008 server
Enterprise SP2 64 bit version
I have installed the devkit for ruby and it is also getting installed.
When trying to install this ruby-odbc gem some how make.exe file is
getting crashing and I am unable to install it further.
I am able to install the same gem on a 32 bit machine but the same
procedure does not work out on 64
2006 May 09
1
Warnings during compilation
Hello everyone !
Just wondering if it''s only me or if everyone gets these:
Building native extensions. This could take a while...http11.c: In function `header_done'':http11.c:125: warning: unused variable `host''http11.c:126: warning: unused variable `port''http11.c: At top level:http11.c:26: warning: `global_interface_value'' defined but not used
This is
2006 Jul 20
6
A few minor warnings from Sun Studio 11
These come courtesy of Sun Studio 11 on Solaris 10 in case you care:
"http11.c", line 54: warning: syntax error: empty declaration
"http11.c", line 55: warning: syntax error: empty declaration
"http11.c", line 56: warning: syntax error: empty declaration
"http11.c", line 57: warning: syntax error: empty declaration
"http11.c", line 58:
2006 Jun 14
0
uninitialized constant Mongrel::HttpHandler (NameError)
I am trying to get a basic apache 2.0.55 + mongrel + rails app configuration setup and i keep getting this:
# mongrel_rails
/usr/local/lib/ruby/gems/1.8/gems/mongrel-0.3.12.4/lib/mongrel/rails.rb:28: uninitialized constant Mongrel::HttpHandler (NameError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require''
from
2006 Oct 02
1
Problems Deploying a Camping app on TxD
So I''ve been trying all day to get a small camping app I wrote up on
Textdrive to no avail.
Right now I''m getting a 500 error when I go to the site, and it spits this
out (from lightty after i restart it and make a request to the app):
(eval):13:in `initialize'': undefined method `to_hash'' for
#<FCGI::Stream:0x83a35d8> (NoMethodError)
from
2006 May 07
1
Installing on OS X
Hi,
I''ve just installed Mongrel 3.12.4 on OS X, and had one little
difficulty: I kept getting an error message saying that HTTPHandler
didn''t exist, maybe it was Mongrel, I don''t remember. Turns out that
there was a lot more missing than that, so it doesn''t really matter.
What was happening is that http11 was not installing and the "require