similar to: Edge Rails Webrick Problem

Displaying 20 results from an estimated 2000 matches similar to: "Edge Rails Webrick Problem"

2006 Mar 07
12
Edge Rails doesn''t work for my app
My app was fine before "rake freeze_edge" but after, I can no longer boot up webrick. I''m on Win Xp MySql backend and this is what I get => Booting WEBrick... ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/ker nel/agnostics.rb:7:in ``'': Exec format error - rake tmp:create (Errno::ENOEXEC) from
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 07
4
Edge Rails - same code, different issues on mac and windows
Trying to get an app up and running with Edge Rails, and I''ve run into different issues on Mac and Windows with the exact same code. It''s similar to the issue posted in the previous RJS/Edge Rails thread, but I didn''t see any answers in there (maybe I missed the real answer?) Both console/error outputs listed below: I can''t even get WEBrick to start on
2006 Mar 12
1
Error when starting webrick with "ruby script\server"
I went through the guide located here: when I try to start up the Webrick server, I get this error: => Booting WEBrick... ./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb:7:in ``'': Exec format error - rake tmp:create (Errno::ENOEXEC) from
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 16
4
problems with latest and greatest ?
I just did the following: 1) checked out latest rails from svn. 2) built project using the /bin/rails with the latest rails binary. 3) did a "rake freeze_edge" within the project Now, script/server is failing =========================== ./script/../config/../vendor/rails/railties/lib/commands/../tasks/tmp.rake:1: undefined method `namespace'' for #<Object:0x401ce970>
2006 Apr 02
2
Problem with edge rails
Hello, When I am trying to run rake migration tasks, I get the error as shown below. I am using ruby 1.8.4 and edge rails. What am I missing or doing wrong? C:\rails\temp1>rake db:migrate (in C:/rails/temp1) rake aborted! no such file to load -- rails_version Thanks for your help. -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at:
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 Mar 18
2
problem with webrick and edge rails
i know i do not really have the right to seek help with edge rails, but i am hoping it is something trivial. quick scenario: $ rails test # create a new project $ svn import # import it into the repo, then go elsewhere, and checkout $ ruby script/server => Booting WEBrick... => Rails application started on http://0.0.0.0:3000 => Ctrl-C to shutdown server; call with --help for options
2006 Jun 27
5
script/server mongrel on windows
Supposedly the latest edge rail supports mongrel via script/server. I have mogrel all installed and working when called via: mongrel_rails service::start -N mw_dev_server 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
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 Feb 25
5
WEBrick Bad File Descriptor Error
All of a sudden I have a wierd error when running script/server on a Windows XP box. Webrick is failing with a bad file descriptor error. I''m sure it''s conflicting with something in my enviornment, but I cannot figure out what. I googled the issue and haven''t been able to find any answer for it. Although, I did find a workaround. If I''m using a port above
2006 Sep 06
4
Setting Product Env
When I am using my rails models in my worker class, it appears the background worker class is always using development no matter what I do. I set background.yml to production. I even have ENV[''RAILS_ENV''] ||= ''production uncommented in environment.rb. I don''t have the development db even created on my production box, so not sure where it is getting development
2008 Feb 19
1
[CruiseControl] RubyOnRails build 8896 failed
The build failed. CHANGES ------- Revision 8896 committed by bitsweat on 2008-02-19 02:56:05 Don''t assume all records from nested include are of same class. Closes #11154 [acechase] M /trunk/activerecord/lib/active_record/association_preload.rb A /trunk/activerecord/test/cases/associations/eager_load_nested_include_test.rb TEST FAILURES AND ERRORS ----------------------- Name:
2006 May 03
7
Business Logic and where to place with rails
I am having an issue of deciding where I should put the business code for example the more complex code coming off the controller. Right now, I am just thinking to put it in the ''lib'' directory and the do something along these lines: require_dependency "system_process" class SystemMessageController < ApplicationController include SystemProcess ... ... Where
2006 Jan 26
5
rake update_javascripts on edge has no effect
I moved to the edge yesterday and ran rake update_javascripts to get the latest prototype stuff into my public directory. To my surprise, the old files were still there afterward. I just took a peek at javascripts.rake in vendor/rails/railties/lib/tasks. The update_javascripts task is copying .js files from Dir[RAILTIES_PATH + ''/html/javascripts/*.js''] My railties
2010 Apr 27
2
how to start an edge rails app
I want to check out an issue in edge rails. I''ve never used edge before and am having a lot of trouble getting it up and running. Following modified instructions from http://ariejan.net/2009/01/04/how-to-start-a-rails-edge-app-the-easy-way/ $ mkdir -p app/vendor $ cd app $ git clone git://github.com/rails/rails.git vendor/rails $ ruby vendor/rails/railties/lib/rails/cli.rb .
2007 Sep 04
2
specing helpers fails on restful routes
Hi, I am trying to spec helper methods in a Rails project, but it seems the specs fail with the error: You might have expected an instance of Array. The error occurred while evaluating nil.<< if the restful routes helper are used either in spec files, or the helper file. What can I be doing wrong? Or how can I fix this. Thanks! -- Surendra Singhi http://ssinghi.kreeti.com,
2006 Aug 17
2
Weird routing error in 1.1.6 slash frozen on edge
So i have this route set up: map.connect ''xml/download/:user/audio/:category/:file'', :controller => ''xml'', :action => ''download'' I am sending the user through an xml controller as it is coming from an RSS feed, the download action looks like this: def download episode = Episode.find(params[:episode]) episode.downloads
2006 Feb 21
4
Models, Helpers, Modules, etc.
Hello, I am learning rails and ruby and I have some questions about how should I go about doing certain things. [1]Many of my models have some functionality which is common, and instead of duplicating it across models, I want to store it in a single file, and then import the file into the models. Should I do this using modules, and then store them in the `lib'' directory? What is the