Welcome Guest | Login

500 Error - Could dsl_accessor Be the Culpret?

My site is throwing a 500 error on a page that creates an dsl_accessor and RMagick object.  I don't get any info in the logs so I'm in the dark...  I thought maybe dsl_accessor is not on the server by default, so I went thru the below process to put it into my app/rails/vendor directory but unfortunately that did not help.  Other than dsl_accessor, I have not went thru the install/freeze process with any other gems (including RMagick).  Any ideas?

Thanks!!!

me@mysite.com [~]# mkdir .gems
me@mysite.com [~]# gem install dsl_accessor -i ~/.gems
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed activesupport-2.0.2
Successfully installed rubyforge-0.4.5
Successfully installed rake-0.8.1
Successfully installed hoe-1.5.1
Successfully installed dsl_accessor-0.1.0
5 gems installed
Installing ri documentation for activesupport-2.0.2...
Installing ri documentation for rubyforge-0.4.5...
Installing ri documentation for rake-0.8.1...
Installing ri documentation for hoe-1.5.1...
Installing ri documentation for dsl_accessor-0.1.0...
Installing RDoc documentation for activesupport-2.0.2...
Installing RDoc documentation for rubyforge-0.4.5...
Installing RDoc documentation for rake-0.8.1...
Installing RDoc documentation for hoe-1.5.1...
Installing RDoc documentation for dsl_accessor-0.1.0...
me@mysite.com [~]# export GEM_HOME=$HOME/.gems
me@mysite.com [~]# export GEM_PATH=/usr/local/lib/ruby/gems/1.8:$GEM_HOME
me@mysite.com [~]# cd greenhome
me@mysite.com [~/greenhome]# dir
./  ../  .loadpath  .project  rails/
me@mysite.com [~/greenhome]# cd rails
me@mysite.com [~/greenhome/rails]# cd vendor
me@mysite.com [~/greenhome/rails/vendor]# gem unpack dsl_accessor
Unpacked gem: '/home/denniss/greenhome/rails/vendor/dsl_accessor-0.1.0'
me@mysite.com [~/greenhome/rails/vendor]#
me@mysite.com [~/greenhome/rails/vendor]# cd ~
me@mysite.com [~]# cd greenhome
me@mysite.com [~/greenhome]# cd rails
me@mysite.com [~/greenhome/rails]# mongrel_rails restart

2008-04-07 09:28 AM

I'm not getting any error while accessing your site. Are you still having any issues?

2008-04-07 11:58 AM

We are still getting the error but you don't get it from the main page.  You get the error if you click on the vendor tab, click on vendor sign in link, put in username = dennis, password = dennis.  Next, click back into the vendor tab and click the "become a vendor" link.  There you will get a 500 error.

Thanks!

2008-04-07 12:09 PM

Hi there - dsl_accessor (0.1.0) is already installed on your box so you don't need to install it custom.  I would suggest removing all the gems you installed (all the dependencies are already on the server as well), restarting your server, and trying again.  If you're still getting a 500 error please paste in the production.log entry so we can help you troubleshoot.

2008-04-08 11:21 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.