On 3 Jan 2009, at 15:18, Andi Geheim wrote:

>
> Hi
>
> what could be the reasen, that I only can start the mongrel or the  
> thin
> server if i set the envirement on development?
>
> On development -> everything works fine.
>
> On production:
>
> andreasP:/var/www/web1/aekschen# mongrel_rails cluster::start
> starting port 82
> andreasP:/var/www/web1/aekschen# mongrel_rails cluster::start
> starting port 82
> andreasP:/var/www/web1/aekschen# mongrel_rails cluster::stop
> already stopped port 82
>
>
> This is the Mongrel LOG:
>
> ** Daemonized, any open files are closed.  Look at
> tmp/pids/mongrel.82.pid and log/mongrel.82.log for info.
> ** Starting Mongrel listening at 78.47.xx.xx:82
> ** Starting Rails with production environment...
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require':
> /var/www/web1/aekschen/app/controllers/ 
> tourscheduler_users_controller.rb:95:
> syntax error, unexpected kEND, expecting $end (SyntaxError)

Sounds like you have a syntax error in that file. In production mode  
in rails 2.2 all application classes are loaded up front (and so a  
syntax error in any of them will stop the server starting, whereas in  
previous versions you would only hit that error when you caused that  
file to be loaded.

Fred
>


>
> I dont know what the syntax error means. There is no "end" to much.  
> And
> i only changed the server, it works on the other one. The only thing  
> is
> that i have a new version of rails now. I have already replaced the  
> old
> config files with those from a new rails project.
>
> any ideas?
>
> greetings Andi
> -- 
> Posted via http://www.ruby-forum.com/.
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to