Welcome Guest | Login

Substruct

I can't seem to get substruct working.  I keep getting the 500 error.  I have re-done the install 3 times, and still get the 500.  I tried to CLOSELY  follow instructions here for installing a rails application, but no luck.  I have checked
the configs, routing, redid the database 2x, redid the public_html link, chmod 755 on the public dispatch files.  I and have it working locally, and I can get other Rails applications working here.  The database is set up.  

Anybody know of something that might be missing from the instructions?  Or something I goofed with?

The error is in the dispatch.fcgi file, that terminates

2008-06-04 06:19 PM

Follow up.  I can't do:
rake substruct:db:bootstrap

!!! GEM LOAD ERROR

You are missing the fastercsv gem.
Please install it before proceeding.

rake aborted!
Could not find RubyGem fastercsv (>= 0)

<<< BUT the gem is installed.>>>

2008-06-04 06:25 PM

I've installed the fastercsv gem globally on the server. Please try again.

2008-06-04 06:33 PM

hi Santhi,  

thanks.  i don't get missing gem with fastercsv now.

now I getting the mime-types is not installed.

here are all the gems that are installed
with substruct.  do they all need to be global?

RedCloth
fastercsv
mime-types
mini_magick
ezcrypto

2008-06-04 06:46 PM

wow, the substruct start up screen comes up now.  this is so cool. none of the links work to the database, yet. could it be the same problem with raking the db not working because of the the missing gems?

2008-06-04 07:12 PM

the SHEBANG

does this need to be:

/usr/local/bin/fcgi

-OR-

/usr/local/bin/ruby

2008-06-04 07:28 PM


I've installed the missing gems on the server now. The shebang line should be #!/usr/local/bin/ruby .

2008-06-04 07:41 PM

thanks Santhi. i re-installed all the gems.  the shebang line is correct.  thanks for the help.

the site is working except for the products and cart sections.  

i can't get into:  www.mysite.com/admin  or any products sections.

I get error code, that looks like I need an SSL cert.

anybody have this problems and did the ssl cert fix it?  i may try to turn off the ssl certificate and see if that works.




2008-06-04 08:03 PM

do i buy an ssl cert through godaddy.com or through you?

2008-06-04 08:13 PM


Please note that if you have to use SSL in your site, you should have a dedicated IP Address. So if you wish to have SSL installed in your site you need to purchase a dedicated IP address and follow the tutorial at http://www.hostingrails.com/forums/wiki_thread/44 .

2008-06-04 08:30 PM


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