apremdas
unread,Aug 25, 2008, 7:55:45 PM8/25/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Haml
Hi there,
In my app I load some markdown text from environment.rb and display it
via haml using the markdown filter
This is my markdown text kept in a hash in environment.rb
REGISTRY[:postage_explanation] = <<EOF
Why is postage so much?
========================
...
EOF
This is my partial
#postageExplanation
:markdown
#{REGISTRY[:postage_explanation]}
This works fine on dev machines running OSX Leopard in development and
production, but the markdown is not processed on my Ubuntu server. My
Ubuntu server has the relevant gems installed I think
*** LOCAL GEMS *** - full list at end of post
...
haml (2.0.1, 2.0.0)
...
RedCloth (4.0.1, 3.0.4)
Any ideas why this might be happening or how to investigate further
would be most appreciated
Many thanks
Andrew
p.s. Using Rails 2.1
*** LOCAL GEMS *** - full list
actionmailer (2.1.0, 2.0.2, 1.3.3, 1.3.2, 1.2.5)
actionpack (2.1.0, 2.0.2, 1.13.3, 1.13.2, 1.12.5)
actionwebservice (1.2.6, 1.2.3, 1.2.2, 1.1.6)
activerecord (2.1.0, 2.0.2, 1.15.3, 1.15.2, 1.14.4)
activeresource (2.1.0, 2.0.2)
activesupport (2.1.0, 2.0.2, 1.4.2, 1.4.1, 1.3.1)
builder (2.1.2, 2.1.1)
capistrano (2.4.3, 2.1.0, 1.4.1)
cgi_multipart_eof_fix (2.5.0, 2.1)
columnize (0.1)
daemons (1.0.10, 1.0.9, 1.0.5)
fastthread (1.0.1, 1.0)
flexmock (0.8.2, 0.8.0)
gem_plugin (0.2.3, 0.2.2)
haml (2.0.1, 2.0.0)
highline (1.4.0)
hoe (1.7.0, 1.5.3)
image_science (1.1.3)
linecache (0.43)
markaby (0.5)
metaid (1.0)
mongrel (1.1.5, 1.1.3, 1.0.1)
mongrel_cluster (1.0.5, 0.2.1)
mysql (2.7)
needle (1.3.0)
net-scp (1.0.1)
net-sftp (2.0.1, 1.1.0)
net-ssh (2.0.3, 1.1.2, 1.0.10)
net-ssh-gateway (1.0.0)
passenger (2.0.1, 1.0.5)
rack (0.3.0)
rails (2.1.0, 2.0.2, 1.2.3)
rails-app-installer (0.2.0)
rake (0.8.1, 0.7.2)
rcov (0.8.1.2.0)
RedCloth (4.0.1, 3.0.4)
rspec (1.1.4, 1.1.2, 1.1.1)
ruby-debug (0.10.1, 0.10.0)
ruby-debug-base (0.10.1, 0.10.0)
rubyforge (1.0.0)
rubygems-update (1.2.0, 1.0.1, 0.9.5)
RubyInline (3.7.0, 3.6.7)
sources (0.0.1)
sqlite3-ruby (1.2.2, 1.2.1)
typo (5.0.3.98.1, 5.0.2, 5.0.1)
xmpp4r (0.3.2)