On Feb 21, 2008, at 10:54 AM, [EMAIL PROTECTED] wrote:

> This line in my environment.rb file is causing a syntax error ...
>
> require File.join(File.dirname(__FILE__), 'boot')
>
> Could someone tell me why?  Here's what happens when I try and start
> my server ...
>
> [EMAIL PROTECTED]/w/dps% ruby script/server
> => Booting WEBrick...
> /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require': /usr/local/apache2/htdocs/dps/config/
> environment.rb:12: syntax error, unexpected tCONSTANT, expecting kDO
> or '{' or '(' (SyntaxError)

That's probably the line that triggers the error from something that's  
actually wrong above.  What's the environment.rb above that line?

-j

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Deploying Rails" group.
To post to this group, send email to rubyonrails-deployment@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-deployment?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to