Recently in Seattle.rb Category

Isolate for Rails Apps

| | Comments (0)

I work on a lot of stuff. I'd rather have my laptop's gem installs be for my stuff, not my work stuff. I'd especially rather not deal with the version mess you get into when you've got several different rails apps. Isolate makes this incredibly easy. With just one gem system-installed, you can make every project completely standalone:

A New Rails App:

% rails blah

You can use isolate with just two files in your rails app. You just add the following:

config/preinitializer.rb

ENV['RAILS_ENV'] ||= 'development' # le sigh

require 'config/gems'

config/gems.rb

require "rubygems"
require "isolate"

Isolate.gems "vendor/isolated" do
  gem "rails", "= 2.0.2"

  environment :development do
    gem "vlad"
    gem "sqlite3-ruby"
  end

  environment :test do
    gem "minitest"
  end
end

and then...

% rake -t
(in /Users/ryan/blah2)
[1/3] Isolating rails (= 2.0.2).
[2/3] Isolating vlad (>= 0).
[3/3] Isolating sqlite3-ruby (>= 0).
Building native extensions.  This could take a while...
%

That's it! It has really made my work a lot easier! I don't have to deal with umpteen different dependencies that I'll never use on another project. I never need to have unknown artifacts breaking stuff. Everything is very cleanly documented within the Isolate.gems block. I love isolate. You should check it out if you haven't already.

rdoc via Apple's Dictionary.app. Automatically builds and installs an Apple Dictionary with all rdoc nicely formatted.

Changes:

1.0.1 / 2010-01-28

  • 4 bug fixes:

    • Added known bad XML to the exclude list.
    • Added missing dependency on rdoc 2 gem. Old rdoc won't cut it.
    • Fixed rsync command
    • Terminal.app in UTF8 breaks on some input. Fix by clearing $LANG.
  • http://rubyforge.org/projects/seattlerb

RDoc via OSX's Dictionary.app

| | Comments (0)

rdoc_osx_dictionary.png

sudo gem install rdoc_osx_dictionary

rdoc via Apple's Dictionary.app. Automatically builds and installs an Apple Dictionary with all rdoc nicely formatted.

Changes:

1.0.0 / 2010-01-27

Hoe is a rake/rubygems helper for project Rakefiles. It helps you manage and maintain, and release your project and includes a dynamic plug-in system allowing for easy extensibility. Hoe ships with plug-ins for all your usual project tasks including rdoc generation, testing, packaging, and deployment.

See class rdoc for help. Hint: ri Hoe or any of the plugins listed below.

For extra goodness, see: http://seattlerb.rubyforge.org/hoe/Hoe.pdf

Changes:

2.5.0 / 2010-01-06

Hoe plugins providing tasks used by seattle.rb including minitest, perforce, and email providing full front-to-back release/annouce automation.

Changes:

1.2.2 / 2010-01-06

Hoe is a rake/rubygems helper for project Rakefiles. It helps generate rubygems and includes a dynamic plug-in system allowing for easy extensibility. Hoe ships with plug-ins for all your usual project tasks including rdoc generation, testing, packaging, and deployment.

See class rdoc for help. Hint: ri Hoe or any of the plugins listed below.

See Also: http://seattlerb.rubyforge.org/hoe/Hoe.pdf

Changes:

2.4.0 / 2009-12-08

Worst. Ideas. Evar.

| | Comments (1)

Aaron Patterson posted the slides for our talk from Rubyconf 2009.

You can grab the pdf here.

The slides are on slideshare.

The videos in the slides have been replaced with links to youtube. If you want to jump straight to the videos though, you can find them here, here, and here.

Synchronizes bug tracking systems to omnifocus.

Changes:

1.3.0 / 2009-10-10

ImageScience is a clean and happy Ruby library that generates thumbnails -- and kicks the living crap out of RMagick. Oh, and it doesn't leak memory like a sieve. :)

For more information including build steps, see http://seattlerb.rubyforge.org/

Changes:

1.2.1 / 2009-08-14

About this Archive

This page is a archive of recent entries in the Seattle.rb category.

RubySadism is the previous category.

Thoughts / Misc is the next category.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.32-en