Displaying 20 results from an estimated 3000 matches similar to: "Error when starting webrick with "ruby script\server""
2006 Mar 09
2
Edge Rails Webrick Problem
Can anyone help me with the following error while trying to start
webrick on edge rails? Was working last week, but recent updates are
causing the following error. Is there something in my existing rails
dir that I might need to update?
Thanks in advance for any help.
./script/../config/../vendor/rails/activesupport/lib/active_support/core
_ext/kernel/agnostics.rb:7:in ``'': Exec
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 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 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
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
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:
2014 Jun 07
0
Multitenancy with Rails and rspec
Hello, I am following this book Multitenancy with Rails. Has anyone here
read this book or can shed light on the issue?
When I run rspec i get following errors
rspec spec/features/accounts/sign_up_spec.rb
C:/Users/J/RubymineProjects/subscribem/spec/dummy/config/environments/test.rb:1:in
`<top (required)>': undefined me
thod `configure' for #<Dummy::Application:0x416fe08>
2009 Apr 06
1
Seeking help with basic installation
Hi all,
Please help me.In my first attempt to creat a simple
controller and working with hello world program.I got some error
though I have my action and view correctly.......
In general..When I type http://localhost:3000/ I can get the welcome
page.But when I see the "About your application Envinorment"..I get
some error as following..
MissingSourceFile in
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 Aug 07
0
deployment failures with sqlite3
Hello list,
I''m attempting to deploy my first rails app on textdrive and have run
into a problem. I currently have lighttpd running and I am able to
start my rails app. When I attempt to visit my site I get an:
Application Error (Rails)
Investigating my production.log it looks like the app isn''t finding
sqlite3, right? Do I need to pack that with the app? What about non
2010 Aug 26
2
Today: constant JSON::Parser not defined
(Using the latest 3-0-stable and rvm, and ruby-1.9.2-p0)
Yesterday everything worked, my own changes are very minor and in the
application only. Did anything change that could have caused this
problem? Unfortunately simply going back in rails alone to the
original "RC2" git-tag did not immediately help, so it may be some
other problem (on my own system only, even if I''m
2008 May 13
0
Problem geting web interface to work
Hi,
i have installed CruiseControlRB 1.3.0. With no project added the web interface at localhost:3333 looks find.
I have successfully added one of my projects (batch file which builds some c++ code) which is also building fine.
But the web interface is no more working - i get the following message "Errno::EINVAL in Projects#index".
I have attached a log (run with --trace) which
2008 Mar 28
1
undefined method ''alias_method_chain''
Running Rails 2.0.2, I get this error:
./script/../config/../vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb:29:
undefined method `alias_method_chain'' for
ActionController::UrlRewriter:Class (NoMethodError)
from /usr/local/rubygems/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
from
2005 Mar 15
0
0.10.0, Routes and Query strings
So I made the leap to 0.10.0 but I can not get routes to play nice
with query strings...
I have this mapping in my routes.rb file
map.connect '':controller/:action/:id'', :controller => ''main_controller''
This is all cool and everything works fine http://www.siteroot.com/
maps to http://www.siteroot.com/main_controller/index
But when I add a query string to
2011 Sep 08
1
Magic Multi Connections gem + Rails 3.1
Hello,
Like in topic, did anyone tried to run this gem under 3.1? I''m getting
error that mirror_db_connection is not valid key:
ArgumentError: Unknown key: mirror_db_connection
from /Users/nopik/.rvm/gems/ruby-1.9.2-p180@christmas/gems/
activesupport-3.1.0/lib/active_support/core_ext/hash/keys.rb:44:in
`block in assert_valid_keys''
from
2011 May 06
1
scaffold didn't work
i am using rails -v 3.0.7.when i tried "rails generate scaffold try
name:string number:decimal" , it gave following error message
invoke active_record
/usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 7, col
2: ` pool: 5'' (ArgumentError)
from /usr/lib/ruby/1.8/yaml.rb:133:in `load''
from
2006 Jul 25
0
Errors logged but not returned to browser, WEBrick hangs
An app I''ve been developing has been chugging along nicely, but around
the time I added a new join model a couple of commits ago, my
development environment has been acting screwy.
1. When there''s an error, the error messages and tracebacks are not
being returned to the browser. The browser keeps the connection alive
indefinitely.
2. Stopping the request from the browser
2009 Apr 25
0
can run up the server after update to 2.3.2
my rails version was 2.2.2 and I turn 2.3.2 last night with gem update
and rake rails:freeze:edge. unfortunately I got a problem when I restart
my server.
a error when I script/server
./script/../config/../vendor/rails/railties/lib/rails/plugin.rb:1:in
`require'': no such file to load --
active_support/core_ext/kernel/reporting (LoadError)
from
2008 Oct 28
1
Old Rails app: can't find file_column gem?
Hi all
I''m trying to get some old Rails app to work. But when trying to start
it, I get the following error:
josh$ script/server
=> Booting WEBrick...
./script/../config/../config/environment.rb:5: warning: already
initialized constant RAILS_ENV
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- file_column
2006 Aug 12
0
trivial questions about rails edge
Hola!
I''ve just downloaded rails edge and noted two strange things:
----------------
1. The "About your application.s environment" link on "Welcome aboard" page
fails saying:
Rails/infoController#properties
uninitialized constant Rails::InfoController
The trace ends like :
vendor/rails/activesupport/lib/active_support/dependencies.rb:178:in