How come like this:
ruby script/server
=> Booting WEBrick…
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require': ./script/../config/../config/environment.rb:8: syntax error, unexpected '<' (SyntaxError) <%= '# ' if freeze %>RAILS_GEM_VERSION = '<%= Rails::VERSION::STRING %>' unless defined? RAILS_GEM_VERSION ^ from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require’
from
./script/…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
require' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in
new_constants_in’
from
./script/…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
require' from ./script/../config/../vendor/rails/railties/lib/commands/servers/webrick.rb:52 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
gem_original_require’
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
require' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
require’
from
./script/…/config/…/vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in
new_constants_in' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:495:in
require’
from
./script/…/config/…/vendor/rails/railties/lib/commands/server.rb:39
from script/server:3:in `require’
from script/server:3