Displaying 20 results from an estimated 7000 matches similar to: "Ruby on Rails & FastCGI 500 Error"
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello,
I have a gentoo system that I am trying to remotely develop rails
applications on using apache and fcgi. I created the simple hello world
example from Dave Thomas'' book to test the system and I receive an
"application error" when I try to go to the page. I can startup webrick
and use links to view the page just fine, but nothing doing through
apache.
I have
2006 Aug 23
8
acts_as_ferret with Mongrel and Edge Rails
Hi there,
Has anyone tried acts_as_ferret with Edge Rails and Mongrel? When I
install the plugin to a project that has Edge Rails frozen, and the
Mongrel gem installed, I can''t start the server. There''s no error, it
just doesn''t start.
I''ve used acts_as_ferret in the past with WEBrick, and stable Rails
releases without a hitch.
If I remove the
2006 Jul 02
5
"the number of parameters does not match the number of substitutions" error
All of a sudden, I''m getting this error:
1) Error:
test_index(AccountControllerTest):
RuntimeError: The number of parameters does not match the number of
substitutions.
/home/joe/projects/tanga/trunk/config/../vendor/rails/actionpack/lib/action_controller/assertions.rb:92:in
`assert_redirected_to''
2009 Mar 21
6
script/console: "no such file to load -- application.rb (MissingSourceFile)"
Here''s what I get when I try to use the console with the current facebooker:
First I make a simple app:
rails foo -d mysql
cd foo
script/plugin install git://github.com/mmangino/facebooker.git
Then I go to config/environment.rb and change the rails version to
''2.2.2'' Then I run the console:
script/console
and I get:
[17:56][herdrick:~/rails/foo]$ script/console
2007 Sep 28
4
RSpec + EdgeRails on Windows
I recently post on my blog about setting up a Rails environment with RSpec
in Windows, and someone left a comment saying that it doesn''t work in
EdgeRails. I so I played around with it a bit and was able to confirm that
none RSpec appears broken on EdgeRails. I''ll post the various error messages
I received below. I''m not expecting any sort of patch or something for this
2007 Oct 01
10
Error with Mongrel_cluster
Hi Guys,
I?m getting this error with mongrel_cluster. I am able to start mongrel
through mongrel_rails start but the cluster is not working. Initially
mongrel_rails wouldn?t work but after I added $ORACLE_HOME and
$PD_LIBRARY_PATH variables it worked but mongrel_cluster isn?t working
still. The mongrel log file looks like below.
Any help is appreciated.
Thanks.
-----------begin
2008 Feb 03
4
Extract vowels and consonants using Ruby Regex
Hello,
I am trying to build a regex to extract vowels and consonants from a
string. So far, I am able to extract the basic a-e-i-o-u sequence
using the following extension to the String class:
class String
def vowels
scan(/[aeiou]/i)
end
def consonants
scan(/[^aeiou]/i)
end
end
examples:
>> "Mary had a little lamb".vowels
=> aaaiea
>> "Mary had a
2006 Dec 29
2
Gems looking in the wrong dir
Hello,
When I tested out SVN 1987, puppetmasterd barfs because gems is
looking in puppet/rails/lib no puppet/rails. This is under FC6 with
gems/rails installed from source. The simple fix for me was to create
the directory lib and link the files in /puppet/rails there.
.r''
Original error:
# puppetmasterd --debug
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
2009 Oct 04
2
no such file to load -- restClient (MissingSourceFile) HELP
i don''t get what is going on here. if i run the restclient command
that starts an irb with restclient it works fine but when i try to load
it from environment.rb with require ''rest_client'' this is what i get...
it''s driving me batty.
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'': no such file to load --
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
2006 Mar 08
6
GD error...
Hi!
I''m new in ruby/rails programming and i have a small problem.
I have installed InstantRails 1.0 (for Ruby/Rails/Mysql/Apache envs) and
I''m trying to make a small app working. I''m using auth_generator for
making a login page/users admin pages... and I have a problem when
trying to CHANGE the avatar for the user.
I have the following error:
MissingSourceFile
2005 Nov 18
2
Migrate Ubuntu Rails App to Fedora?
I developed a small RoR app on my Ubuntu laptop and I just tried to migrate
it to my "production" box which is Fedora FC3. I moved the entire rails
app. I received this error when I tried to get the first page:
[2005-11-17 15:36:00] INFO WEBrick::HTTPServer#start: pid=32546 port=3000
192.168.0.61 - - [17/Nov/2005:15:40:01 EST] "GET /freesql HTTP/1.1" 200 0
- ->
2006 Nov 22
1
rspec_on_rails (MissingSourceFile)
Hi there,
I''ve installed rspec, rails plugin & generators thusly:
$ sudo gem install rspec
$ sudo gem install rspec_generator
$ sudo gem install zentest -v 3.4.1
$ ./script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/REL_0_7_2/vendor/rspec_on_rails/vendor/plugins/rspec
$ ./script/generate rspec
$ ./script/generate rspec_model ModelName
With Rails version:
$ rails
2006 Mar 14
2
no such file to load -- login_system
I''m hoping someone can help me out here. My application works fine
locally using webrick. One I upload to my shared server space I get an
application error saying rails has failed to start.
The log file production.log reads as follows:
MissingSourceFile (no such file to load -- login_system):
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__''
2006 Jul 26
1
Scaffolding Problems
Hi.. Im a brand new ruby on rails developer, and when i make a scaffold
and navigate to the it, i get an error that looks like this.
-----------------------------------------------------------------
NameError in PagesController#list
uninitialized constant Page
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 May 03
2
How do you use the ''vendor'' directory with 3rd party libraries?
Hi,
I''m wondering how to use the ''vendor'' directory in a Rails app. I
know that you can put plugins and engines into the ''vendor/plugins''
directory and that svn:externals can be used for that, but I was
wondering how & where I put a 3rd party library? My specific case is
the pdf-writer code, which I''d rather have inside my app than as a
2008 Jul 12
4
Act as Taggable with Rails 2.0
I''ve posted a different question just before -- but before I can try
and get a better idea of my error message, I was trying to start my
application and ran into other problems.
My application was developed last year in rails 1.2.3. I since
upgraded my computer and have the latest version of rails. When I
tried to star the application I got the following error message:
2008 Dec 01
2
strange rails error on ubuntu 8.10
Just upgraded from 8.04 to 8.10, which bumped my Ruby version to
1.8.7, and my Rails app (frozen to 2.2.2) gets a strange error on
startup. I can easily reproduce just by running script/about:
$ script/about
/vendor/rails/actionpack/lib/action_view/template_handler.rb:11:in
`initialize'': wrong number of arguments (0 for 1) (ArgumentError)
Anyone else having trouble with Rails on Ubuntu
2008 Jan 31
1
Production problem for mongrel
Hi,
I am working on deplying my Rail app to QA and then move to production.
Since on our QA servers, there is no internet access and also for production
servers, internet access is strictly prohibited.
As a result, there is no way to install mongrel by use "gem install mongrel"
command.
The first option I tried is to put mongrel and all other gems under the
vendor directly in my app,
2009 Sep 23
6
Dreamhost launch issues. What gems are used in my rails app?
Hi guys,
I made a quick app for a family member to be deployed on Dreamhost (low
budget). It''s my first time deploying on DH so I''m not familiar with the
restrictions.
I''m having an issue where I''ve been able to get git on both systems and
used capistrano to deploy the app. However migrations fail. I also tried
exporting my local staging mysql schema and