Category Archives: Ruby On Rails
Super Simple Ruby Web Scraper
Alrighty folks. Quick walk though for scraping remote web data with Ruby. This is how I did it for my little web scraper I wrote on Saturday..
DISCLAIMER: Web Scraping is kind of a gray area.. don’t steal things that are copywritten and don’t be a jerk. Give credit where credit is due..
First [...]
Also posted in Programming Tagged How to, mechanize, open uri, Ruby, Ruby On Rails, sweefner.com, web scraper Leave a comment
Slicehost problems with Gem *FIXED*
Today I set up 470.johnyerhot.com and set up a Rails app I worked on to run there, but I needed to install the Pdf-writer Gem for proper functionality. Low and behold when I tried
sudo gem install pdf-writer
I was greeted with nothing, just
Updating Gem source index for: http://gems.rubyforge.org
and that was it. After searching and [...]
Also posted in Programming, Slicehost Tagged gem, problems, Ruby On Rails, Slicehost Leave a comment
How to: Nginx, FCGI, PHP, MySQL, Ruby On Rails, Rewrite
In a previous post I talked about how I just set up my new Slicehost account using Nginx to power this blog (Wordpress – PHP) and some Rails Apps. Here’s a mini how to on how I got the whole thing working, as its not quite as easy as it sounds.
First though – Why [...]
Also posted in Linux, PHP, nginx Tagged FCGI, Gutsy, How to, MYSQL, nginx, PHP, Rewrite, Ruby On Rails, Ubuntu 7.10 15 Comments
Debugging Backgroundrb
Backgroundrb is a great tool for getting cron like functionality in your Rails app, but it can be a pain if its not working correctly. I’m not going to go into how to get backgroundrb working, its rubyforge page has decent instructions for that, but what I will share are some tips on debugging [...]
Royner & Co.
Well, after a little bit of down time and some re-adjusting my slice at slicehost we’re back and I’ve gotten Royner up and running at royner.johnyerhot.com.
What is Royner?
Good question. Well, you sign up with either a Google Talk (Gtalk) or Jabber instant message screen name, give Royner a url for a RSS/ATOM feed [...]
Also posted in Geeky, Royner Leave a comment
Moved Hosts
Well I’ve finished consolodating my two hosting accounts, one at Godaddy (cheap Linux hosting) and my shared Rails hosting at OcsSolutions (which was very good for shared Rails host) to a 512 mb Ubuntu 7.10 ’slice’ at Slicehost. Was gonna go straight Debian, but figured what the hell. For any of you who don’t know, [...]
Also posted in Linux, PHP, Royner, Slicehost, nginx Tagged godaddy, nginx, ocssolutions, php5, Royner, Ruby On Rails, Slicehost Leave a comment
Weekly Roundup
Heres the week in review:
-Linux Mint home networking is now done and working beautifully. Had some trouble getting the onboard Via Chrome9 Video working correctly, but I followed the instructions here(compiling it from source) and everything was great. I wanted to use the OpenChrome driver instead of the VESA driver because the OpenChrome [...]
Also posted in Geeky, Linux, Programming, Royner Tagged apache, deprec, Linux Mint, nginx, openchrome, Royner, xvmc Leave a comment
Royner – New Project
I’m happy to say that I’m almost done with my newest project – Royner. It doesn’t live anywhere yet, just on my local machine, but heres what it is:
Really simple – you give Royner a feed (Atom, RSS, XML) and Royner monitors that feed for some keywords that you define. So, lets say [...]
Rake Leaves
Yeah, I came up with this little Rails rake task called ‘rake leaves’. It will just create a text file that has all your tables, column names, and their data types. I’ve always thought it would be handy to have this so you don’t need to switch to MySQL and spend the time [...]
Also posted in Programming, Rake Leaves 1 Comment
Mongrel + Nginx: Deploying to a subdirectory