Displaying 20 results from an estimated 30000 matches similar to: "gem freezes"
2008 Mar 04
2
Why would ActiveRecord connect to Postgres as root?
My databases.yml makes no mention of root and in my dev environment
everything works fine, however following a deployment with Capistrano
about an hour ago, I get the following error:
PGError in HomeController#index
FATAL: role "root" does not exist
/usr/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/
connection_adapters/postgresql_adapter.rb:713:in `connect''
2007 Apr 06
3
How to find rows where no row in associated table exists?
Basically, how do I do this "The Rails Way(tm)"
SELECT * FROM beta_users u LEFT JOIN beta_codes c ON u.id =
c.beta_user_id AND c.code IS NULL
At the moment I''m using find_by_sql, and that works Ok, but what would
be the Rails way?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
2006 Oct 10
1
DEFCON errors
err:module:import_dll Library GLU32.dll (which is needed by
L"C:\\Program Files\\Defcon\\defcon.exe") not found
err:module:import_dll Library OPENGL32.dll (which is needed by
L"C:\\Program Files\\Defcon\\defcon.exe") not found
err:module:LdrInitializeThunk Main exe initialization for
L"C:\\Program Files\\Defcon\\defcon.exe" failed, status c0000135
I keep getting the
2013 Mar 12
2
Only running database_grant the first time.
I''m using puppet through Vagrant to manage my dev VM, and as part of that I
have a few database grants that I run after creating users, but when I
subsequently run vagrant up or provision these grants fail (because of some
changes I make to the mysql config after they have been created.)
I''m using database_grant to execute the grants, but there doesn''t seem to
be a
2012 Jan 13
1
checkRd freezes while parsing erroneous preprocessor macros
Dear developers,
I came across with a bug while parsing Rd files.
Given is the following minimal Rd file:
----
\name{foo}
\title{foo}
\description{
#ifdef windows
win
#endifd
#ifdef unix
unix
#endif
}
----
By accident I have a typo at line 6, instead of having #endif I typed #endifd.
If I run checkRd(), parse_Rd(), Rd2HTML(), or others including the command line "R CMD Rconv" R
2009 Jan 09
2
Mac woes
I am new to R but have spent a little time messing around with it. I
am running version 2.8.1 under Leopard OS 10.5 on a power PC and also
on my laptop, which is Intel. Unless, I am wrong, this version is just
a bit buggy.
1. In the R Commander, there is no direct entry of data. The Edit menu
does not include a "New data set" choice, as advertised in the Windows
version.
2.
2007 Mar 25
3
Session is nil inside model
I''m tring to write a little function to indicate if a user is able to
pay an invoice, I have my invoice model with:
def canPay?
if session[:user].id == self.consumer_id
return true;
else
return false;
end
end
as a method, but it gives the error:
"undefined local variable or method `session'' for #<Invoice:
0xb7670928>"
Right before
2004 Jun 14
15
oh323
This module wont compile can anyone give me any assistance
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040614/03ae433c/attachment.htm
2007 Nov 18
3
mongrel_cluster on OS X 10.5 Leopard
So, Leopard server has been great, most everything I need is here.
Thanks to a nice example here:
http://www.cyberarmy.net/library/article/1722/ I was even able to sort
out using Mongrel with Apache 2. All works out of the box, except
mongrel_cluster. The gem just won''t install. I could really use some
guidance here. I did try the darwinports mongrel_cluster install from
here:
2009 Nov 19
3
Log File Location
This may be a dumb question, but where can I see the error logs that
are usually displayed when unicorn is not daemonized? The
production.log file is empty in my app. Everything is currently
running as root.
2010 Apr 15
11
Rails 3, Rspec 2, Autotest
Trying to set up a Rails 3 project with RSpec and Autotest. I followed
these steps exactly:
http://gist.github.com/365816
But when I start up autotest, I get:
$ autotest
loading autotest/rails
style: Rails
instead of:
$ autotest
loading autotest/rails_rspec2
style: RailsRspec2
And autotest doesn''t seem to do anything. Any idea what''s happening?
I''m using Ruby
2008 Apr 06
4
no more mongrel on leopard!
Hi! I''ve got a problem: just changed my mac, now I run leopard. Just
updated original gems to rails 2.0.2 and cleaned up each of them. But,
when I run script/server, there''s no more mongrel. It starts up webrick!
I want mongrel, since it''s better for debug.
How can I substitute it? Below is a sudo gem list:
actionmailer (2.0.2)
actionpack (2.0.2)
actionwebservice
2010 Nov 20
6
unicorn 3.0.0 - disable rewindable input!
Changes:
Rewindable "rack.input" may be disabled via the
"rewindable_input false" directive in the configuration file.
This will violate Rack::Lint for Rack 1.x applications, but can
reduce I/O for applications that do not need a rewindable
input.
This release updates us to the Kgio 2.x series which should play
more nicely with other libraries and applications. There are
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
2009 Oct 20
8
Pre-release FXRuby binary gems for testing
All,
A couple of new build platforms have come into the picture since the
last FXRuby release and I''m trying to make sure they''re supported.
That is to say, I want to be able to provide precompiled binary gems
so that users on those platforms don''t have to build everything from
source. I think I''m there, but I could use your help testing if you
have
2006 Sep 15
1
Applying game patches.
Hi all,
I've downloaded and installed Wine specifically to play Warhammer 40k,
Dawn of War. I checked out the app database first and the signs were
good, my version of Linux (Debian Sarge) was reported as working
(although the installer had been tested)
I ran the installer, and it appeared to work fine (although it only
asked for the 1st disk) but when I try and run it, it asks for the
2008 Apr 01
12
undefined method `time_zone=' on Rails 2.0.2.9129 on Mac OS X
I just did a gem update and it broke my rails application. I had to
go back to 2.0.2, because 2.0.2.9129 produces this error on Mac OS X
Leopard:
/Users/nicholas/RubyDev/dummy/config/environment.rb:38: undefined
method `time_zone='' for #<Rails::Configuration:0x12c9f24>
(NoMethodError)
from /Library/Ruby/Gems/1.8/gems/rails-2.0.2/lib/initializer.rb:47:in
`run''
from
2008 Jul 12
4
problem
Hi -- I just got your book FXRuby and am trying to get it working on Leopard
-- I had no problems getting it to work on Vista or Ubuntu but when I tried
to follow the post on your blog for Leopard I got the following error -- I
don''t know enough about Leopard or Ruby for that matter to troubleshoot this
myself so I was hoping someone may have run into this before and can offer a
solution.
2003 May 30
2
Why not seeing samba server
Hello,
I'm using samba-2.2.8a and this conf file :
[global]
netbios name = Moua7
workgroup = EPI
server string = Moua7 - FreeBSD 4.8
guest account = samba
security = share
name resolve order = bcast
create mask = 0600
directory mask = 0700
os level = 255
preferred master = Yes
domain master = Yes
wins support = Yes
[partage]
comment = Dossier de partage
2010 Jul 17
1
bug in identical()? [Was: [R-sig-ME] Failure to load lme4 on Mac]
Daniel,
thanks for the test case. I did run it in valgrind but nothing showed up, however ...
I'm starting to have a suspicion that this has something to do with identical() - look at this:
> identical(M1,M2)
[1] FALSE
> all(serialize(M1,NULL)==serialize(M2,NULL))
[1] TRUE
> identical(unserialize(serialize(M1,NULL)),unserialize(serialize(M2,NULL)))
[1] FALSE
>