search for: silence_stderr

Displaying 12 results from an estimated 12 matches for "silence_stderr".

2006 Mar 04
29
Getting RJS / EgdeRails working
Hi, using Rails 1.0 on windows (without svn yet) I just wrote "rake freeze_edge". Are the RJS-templates already included then ? When I write "rake update_javascripts" I receive this error: svn: ''.'' is not a working copy Any tipps for a newbie on how to get the update done (if neccessary) ? thx Jan
2006 Mar 09
2
Edge Rails Webrick Problem
...eate (Errno::ENOEXEC) from ./script/../config/../vendor/rails/activesupport/lib/active_support/core _ext/kernel/agnostics.rb:7:in ``'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28 from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28:in `silence_stderr'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/core _ext/kernel/reporting.rb:26:in `silence_stream'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/core _ext/kernel/reporting.rb:26:in `silence_stderr'' from ./script/.....
2006 Mar 07
12
Edge Rails doesn''t work for my app
...from ./script/../config/../vendor/rails/activesupport/lib/active_support /core_ext/kernel/agnostics.rb:7:in ``'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb: 28 from ./script/../config/../vendor/rails/railties/lib/commands/server.rb: 28:in `silence_stderr'' from ./script/../config/../vendor/rails/activesupport/lib/active_support /core_ext/kernel/reporting.rb:26:in `silence_stream'' from ./script/../config/../vendor/rails/activesupport/lib/active_support /core_ext/kernel/reporting.rb:26:in `silence_stderr''...
2006 Apr 26
8
script/server lighttpd on Windows
Has anyone been able to get script/server to successfully use lighttpd on a Windows box? When I try to start the server I get: PROBLEM: Lighttpd is not available on your system (or not in your path) So then I add "C:\lighttpd\sbin" to the path for the console session, and it still fails with the same error. If anyone has some success with this I sure would like to know. Webrick
2006 Mar 09
16
Preloading child rows 2 levels deep?
I currently have 3 tables/models: 1) Clients, 2) Charges, and 3) Court_Dates. Clients 1..n Charges 1..n Court_Dates I am trying to find all clients that have a court_date on a certain day: something along the lines of (@client.charge.court_date.date == Date.today). I have had success preloading child rows using the :include parameter, but that only works with a parent and a child, or a
2006 Mar 12
1
Error when starting webrick with "ruby script\server"
...from ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28 from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28:in `silence_stderr'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:26:in `silence_stream'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:26:in `silence_stderr''...
2006 Mar 07
4
Edge Rails - same code, different issues on mac and windows
...er.rb:28:in `silence_stder r'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/rep orting.rb:26:in `silence_stream'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/rep orting.rb:26:in `silence_stderr'' from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:28 from c:/software/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from c:/software/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'...
2006 Jul 05
2
Serialized object behaves weird
Hi! I got a class named EinsatzFilter which I serialized to session. Before saving to session it works afterwards I keep getting the message: "undefined method `to_s'' for #<Person:0x38c6ab8>". "Person" is a from ActiveRecord::Base inherited class. Code: class EinsatzFilter include ApplicationHelper attr_reader :personen, :monat, :projekte, :kunde
2006 Jun 27
5
script/server mongrel on windows
...However when I do: ruby script/server mongrel I get: PROBLEM: Mongrel is not available on your system (or not in your path) Upon further investigation, it appears that mongrel prevents itself from loading on windows with the following lines: unless RUBY_PLATFORM !~ /mswin/ && !silence_stderr { `mongrel_rails` }.blank? puts "PROBLEM: Mongrel is not available on your system (or not in your path)" exit 1 end From: http://dev.rubyonrails.org/browser/trunk/railties/lib/commands/servers/mongrel.rb Why is does it prevent itself form loading on windows? It seems light...
2006 Jun 30
6
RSS::Parser Documentation
Hi I am trying to use the RSS classes from "rss/2.0" and everything works but I want to know what attributes and properties I can get at from each of the classes I am getting back. For example, the class has a "channel" which I can tell has a "title" attribute (because it works when I query it :) but I would really like a list of every attribute that is
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody I am trying to get RoR to work with lighttpd. Nearly there, but I am stuck with a strange phenomenon. If I configure lighttpd to serve pages on say port 2000, I can get at my testapp fine and see the "Welcome aboard" page. However, if I configure lighttpd to use port 80, I get a download prompt from my browser. If I access my URI like
2005 Dec 27
3
myObject.send(column.name) from Agile Development book
I''m studying the Agile Development with Rails book. In the chapter that first sets up the depot application (page 68), there is this bit of code from a view: <% for product in @products %> <tr> <% for column in Product.content_columns %> <td><%=h product.send(column.name) %></td> <% end %> etc... I am trying to absorb both Ruby and