Welcome Guest | Login

Application/Plugin Error

Hi there, I am trying to setup a live app on my site, however when I run public/dispatch.fcgi I end up with an error located in one of my plugins that isn't present when running it on my local machine. Anyone have any thoughts on this? I tried reinstalling the plugin with no luck thanks.

The exact error is this:


/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': /home/kidfict/facebook/vendor/plugins/facebooker/lib/facebooker/models/user.rb:288: syntax error, unexpected $end, expecting kEND (SyntaxError)


I searched to the source file and it doesnt seem like there should be any problems with this, especially since this doesnt occur on my local machine.

I'm getting the Application error
Rails application failed to start properly when I browse to my site. I've followed the various other threads about this with no luck.

Thanks.

2008-06-26 10:46 AM

Hi Kidfiction,

It seems like a version mismatch of gems or plugins installed. Please make sure that you have frozen the application with required gems and plugins.  You can also try to freeze the entire rails application from your local machine and then  upload it to the server.

2008-06-26 02:26 PM

Thanks Vinayan, that seemed to solve that problem. I installed/froze all my gems initially on the server via SSH and doing
:gem list
I couldnt find differences in the versions that I had froze on the server and ones on my local machine. But I went ahead and froze the gems I was using on my local machine following this link: http://gemsonrails.rubyforge.org/ then FTPed the /vendor/gems and everything is working.

Thanks again for the help.

2008-06-26 08:16 PM


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