Mark-n-Sylva... Sylva-n-Mark...

Mark's Site

Syndicate content
Updated: 4 min 4 sec ago

Mark's [J]Ruby on Rails Notes

Wed, 2008-08-20 14:43
Using GoldSpike to run Ruby on Rails in Standalone Mode

When running Ruby on Rails in a war using the GoldSpike servlets and context-param jruby.standalone is set to true you will need to use the jruby-complete jar file. Rails requires Gems in order to boot strap. I found that using the jruby jar file caused Rails to fail in initializer.rb when it tried to require 'logger' which is included in the ActiveSupport gem.

Also be sure to copy your required gems into WEB-INF/gems.

[EDIT: Better yet use ruby gem install --install-dir WEB-INF/gems. ]

Model Auto Completer

read more

Twitter: You've Added Meaning to My Life and Changed Me

Mon, 2008-06-23 14:18

This past weekend was an emotional roller coaster. It all started with a post on Twitter from Veronica:

Pass this around, if there's anyone you know that could be a liver donor to this little guy http://tinyurl.com/5zbtfu So sad.

I was checking my Twitter feed on my iPhone just before going to bed Friday night, after a long day of work and family. I read that tweet, followed the link, read the blog post about Wyatt's fight for life, put the phone on my night stand haunted. I couldn't get it out of my head. I couldn't pick up my phone and continue my life as I had before reading that tweet. I'm a new father, and I could only imagine being in the same situation and crying out for help. Echoing in my head was:

And whoever saves a life, it is considered as if he saved an entire world."

read more

Twitter: You've Added Meaning to My Life and Changed Me

Mon, 2008-06-23 14:18

This past weekend was an emotional roller coaster. It all started with a post on Twitter from Veronica:

Pass this around, if there's anyone you know that could be a liver donor to this little guy http://tinyurl.com/5zbtfu So sad.

I was checking my Twitter feed on my iPhone just before going to bed Friday night, after a long day of work and family. I read that tweet, followed the link, read the blog post about Wyatt's fight for life, put the phone on my night stand haunted. I couldn't get it out of my head. I couldn't pick up my phone and continue my life as I had before reading that tweet. I'm a new father, and I could only imagine being in the same situation and crying out for help. Echoing in my head was:

And whoever saves a life, it is considered as if he saved an entire world."

read more