Displaying 20 results from an estimated 10000 matches similar to: "Status: 500 Internal Server Error when running mongrel"
2007 Jun 02
2
Unit tests breaks with sqlite
Hi,
I''m using an sqlite3 database with Rails and have some trouble running
unit tests
What I''ve done is
* rails my_app
* edited database.yml to use sqlite3 adapter, db/my_app_development
and db/my_app_test
* ruby script\generate model user
* edited model
class User < ActiveRecord::Base
validates_presence_of :name
validates_uniqueness_of :name
end
*
2007 Aug 10
3
[ win32utils-Bugs-12979 ] Error while trying to update my gem collection
Bugs item #12979, was opened at 2007-08-10 15:29
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=12979&group_id=85
Category: windows-pr
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: Error while trying to update my gem collection
Initial Comment:
C:\ruby>gem update
Updating
2010 Apr 09
3
"We're sorry, but something went wrong"
can anyone help with this???
/!\ FAILSAFE /!\ Thu Apr 08 16:58:27 -0700 2010
Status: 500 Internal Server Error
unknown error
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `initialize''
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlopen''
C:/Ruby/lib/ruby/1.8/dl/import.rb:29:in `dlload''
C:/Ruby/lib/ruby/1.8/dl/import.rb:27:in `each''
2009 Apr 21
12
still cannot install rails on windows
if i follow the instructions on:
http://agilo.us/2009/03/15/rails-on-windows/
the command
gem install sqlite3-ruby
will give
---------------------------------
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
c:/ruby/bin/ruby.exe extconf.rb
checking for fdatasync() in rt.lib... no
checking for
2006 Jun 30
2
Installing products through gem on ubuntu
I''m trying to install mongrel and sqlite3 through the gem command on
ubuntu. I''m have in the same problem with both. If I try to do sudo gem
install sqlite3, it says GemNotFoundException. If I run the same command
without sudo, I don''t have permission to some directory:
pbarry@pbarry-laptop:~/downloads/rubygems-0.9.0$ sudo gem install
sqlite3-ruby
ERROR: While
2006 Oct 16
3
Strange ActiveRecord error popping up
Hello guys, I''m developing a new app in Rails, and every now and then
I get an ActiveRecord error, I cannot reproduce exactly what triggers
it, hope you can help me, or give me tips on debugging this kind of
stuff. This time I got the error reporting page, but normally I would
just see the 500.html page, with no info about what went wrong.
This is the error (it''s the complete
2008 Apr 13
8
Brand new to rails: can't get databases to work
Just starting to learn rails. All is going well, until I tried to hook
up a database.
"undefined method `model'' for ZingerController:Class" is the message I
get from the server.
I imagine I''ve left something out that is keeping me from connecting
to the database, but I''m not exactly sure what.
Your help is appreciated.
bests,
-rsr-
session dump:
2008 Sep 02
14
SQL 3 Lite Error
Hello everyone,
In my controller, I put the following code:
render :text => "Hello World!"
It popped up with this error:
"
MissingSourceFile in BlogController#index
no such file to load -- sqlite3
RAILS_ROOT: C:/InstantRails/rails_apps/scblog
Application Trace | Framework Trace | Full Trace
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
2011 Apr 20
6
rake db:create fails
Hello folks,
I´m here trying to find the way to solve my problem.
When i try to run
rake db:create or rake db:create:all
the process stops and the databases are not created.
I change the directives, putting --trace before the rake db:create and
the steps are
C:\appws\cookbook>rake db:create --trace
(in C:/appws/cookbook)
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
2006 Jul 09
2
Error using sqlite3
Hello, I''m trying to use sqlite3 and I''ve followed the steps here :
http://wiki.rubyonrails.org/rails/pages/HowtoUseSQLite
However I get the error above (uninitialized constant API) when trying
to run a migration.
I''m under Windows XP, using cygwin, the sqlite3.dll file is on the lib
directory of my rails app (filemon, an utility that reports file access
attempts
2008 Apr 12
12
sqlite3.dll problem
Hi I''m triying to begin developing in ruby on rails, and I''ve instaled
all the components but there is a problem with the file sqlite3.dll.
When I try to execute my first example in my web browser apears an alert
that says sqlite3.dll is not found.
I''m working on windows XP with firefox and the server is WEBrick.
If someone knows how can I resolve the problem please
2006 Apr 11
0
Unit test is failing when I am using SQLite
Hi,
There seems to be an issue with SQLite adapter. Any idea what is causing
it?
document_test.rb contains default scaffold and works fine with MySQL but
fails with SQLite. Other unit tests work fine with either DB.
Sergei Serdyuk
Red Leaf Software LLC
http://www.redleafsoft.com
document_test.rb:
require File.dirname(__FILE__) + ''/../test_helper''
class DocumentTest <
2007 Feb 23
11
Problems getting mongrel service working
Hello list!
I have mongrel service 0.1.0 working on my current production machine.
Upgrading to a new server and also moving to mongrel service 0.3.1
has not worked yet. I am hoping someone will have an idea as to why.
I have mongrel installed properly (I think):
C:\rails\igacc>gem list --local
*** LOCAL GEMS ***
...
mongrel (1.0.1)
A small fast HTTP library and server that runs
2008 May 07
1
Actionwebservice
I am just learning some about web service. But many guys still use
Java (Jws). But I wanna try ROR. There are less information about it.
I can''t get install plugin in the ROR 2.0.x. So I followed the
standard textbook("Agile_Web_Development_With_Rails-2nd" and "Ruby on
Rails for PHP and Java Developers") I almost finished it. However, I
can''t find my api
2006 Nov 04
0
gem install sqlite3-ruby error
when i install typo on debian, appear error like this, could you tee
me how to fix this bug?:
debian:~# gem install sqlite3-ruby
Need to update 4 gems from http://gems.rubyforge.org
....
complete
Select which gem to install for your platform (i486-linux)
1. sqlite3-ruby 1.1.0 (mswin32)
2. sqlite3-ruby 1.1.0 (ruby)
3. sqlite3-ruby 1.0.1 (mswin32)
4. sqlite3-ruby 1.0.1 (ruby)
5. sqlite3-ruby
2005 Dec 22
0
Getting AdapterNotSpecified on simple script/generate
So even after installing the sqlite3-ruby gem without issues, I still
get this error when I try to generate a model...
Attempting local installation of ''sqlite3-ruby''
Local gem file not found: sqlite3-ruby*.gem
Attempting remote installation of ''sqlite3-ruby''
Select which gem to install for your platform (powerpc-darwin8.3.0)
1. sqlite3-ruby 1.1.0 (mswin32)
2007 Nov 21
3
Mongrel Timeout?
Hi,
I am using a railsapp to call an external app and print some barcode-labels.
My problem is, after a while there seems to be a timeout. Then I need to
stop the Mongrel-Server and restart it.
Below you can see the error message, when i stop the server.
Has somebody seen this before?
Greetings,
Oli
C:\etikett>mongrel_rails start -d -e production
** WARNING: Win32 does not support daemon
2007 Oct 24
7
NameError in CustomersController#index
I''m new to Rails. I finished the Cookbook tut. no problem. I''m
trying to start a project of my own, follow the same instructions but
the difference is I created the database myself.
After I create the scaffolds and try them out I get this error
NameError in CustomersController#index
uninitialized constant Customer
RAILS_ROOT: ./script/../config/..
Application Trace |
2007 Dec 04
2
Mongrel 1.1.1 Win32 (latest) + Rubygems
Hello all. Hope this doesn''t appear as spam...
I am trying to run Mongrel on Win XP (SP2) for a web site (just one at the
moment). For some reason it is giving me this error:
E:\web\app2>mongrel_rails start -p 4001 -d
** WARNING: Win32 does not support daemon mode.
** Daemonized, any open files are closed. Look at log/mongrel.pid and
log/mongr
el.log for info.
** Starting Mongrel
2006 Dec 28
3
Mongrel fails in Win32, mongrel_service missing, with possible fix
I just ran into an issue with a new mongrel install on Win32. When
trying to run mongrel from RadRails 0.7.2 on win32, I got an error
while loading that it couldn''t locate mongrel_service.
C:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load --
C:/ruby/lib/ruby/gems/1.8/gems/mongrel_service-0.3.1/lib/mongrel_service/init.rb