<% %> is used for erb. However, since config files use ruby, you'll
have to use #{} for variables.
The reason Ryan's sample has that is because he's taking code from the
rails app generator. Once generated with a command like 'rails foo',
your app will have this:
Heh. I put this in my new project too. I thought it looked strange having erb in the environment.rb file but when I used “#{}” [note the double quotes] I ran into a heap of trouble. So, if I now understand correctly, we should just having something like
Heh. I put this in my new project too. I thought it looked strange having
erb in the environment.rb file but when I used "#{}" [note the double
quotes] I ran into a heap of trouble. So, if I now understand correctly, we
should just having something like