This one is better than RDT
http://www.eclipse.org/dltk/
Monthly Archives: February 2008
installing gem with mingw
how to install mongrel
gem install mongrel –platform mswin32 (even though that’s not the right platform, it’s the righ toperating system!)
faster rails development mode
So…running your app in development mode gotcha down? Too slow (as it really is on some computers?) Answer: run it in production mode, but add a thread in environment.rb that checks the “popular” directories to see if anything has changed (‘app/controllers’, ‘app/models’) and that kills the current process when something does, then run that in a bash script loop (or some type of loop–ruby system loop?) so that it restarts automatically. Works wonderfully. Email me if you want an example script.
logmein
so…you try logmein and it says “xpcom.dll not found” — work around currently is to access it in firefox with the latest updated plugin.
bubbles yeah.com
So…you run bubbles, maybe for campfire, and get it redirecting to “yeah.com”? What this actually comes from is that yeah.com owns “org.com” (I think — the blank url) so any instant searches are sent there (alex at http://www.dslreports.com/forum/remark,9330624~start=60 tipped me off to this) so bubbles is doing an auto search,and redirecting you to an odd site. Double check your url’s!
better than pyro
If you use campfire and are running mac os x, a far better notifier than pyro can be created using the script located here http://userscripts.org/scripts/show/22891 . Enjoy!
cure for the common cold
Ok maybe it won't cure it, but...it says "always works 80% of the time!" stop using sugar, don't eat, water both ears till stops bubbling "one or two hour intervals" To cure the flu you'll need to repeat this process two or more times at one or two hours intervals until there is no more bubbling when you put H2O2 in your ear(s). -sugar, vit. c, bubbles, don't eat until you feel hungry http://www.averagewhitedude.com/my-fool-proof-common-cold-curing-regimen/102/
how to setup rails on bluehost
You may need to add custom gems--google for 'rubygems on bluehost' which tells you that environment.rb may need ENV['RUBY_PATH'] = '/home/username/.gems' or what not (etc.) Now create a sym link in /www to your rails app's public dir. Link the subhost to that. (unless you want the pain of trying to setup rails in a subdirectory!) now make sure the public directory, .htaccess, and dispatch.fcgi are all chmod ag-rw (I think). in .htaccess you want AddHandler fcgid-script .fcgi for the fcgi Now fire it up, see if it works, checking your error logs in cpanel.
streamlined habtm
TBD: editable associations this means “streamlined doesn’t do habtm until version 1.0!”
substruct authorize.net setup
Note that the ‘login’ and ‘password’ are your api login and transaction key. To get a ‘real’ login you need to call them, for some reason. Also note you can get a test account from them with these.