Skip to content

Instantly share code, notes, and snippets.

@molpe
Created April 28, 2009 09:08
Show Gist options
  • Save molpe/103038 to your computer and use it in GitHub Desktop.
Save molpe/103038 to your computer and use it in GitHub Desktop.
plugin 'thinking-sphinx', :git => "git://github.com/freelancing-god/thinking-sphinx.git"
gem "RedCloth", :lib => "redcloth", :source => "http://code.whytheluckystiff.net"
rake "gems:install"
#private URL
plugin 'tog_conversatio', :git => "[email protected]:cauta/tog_conversatio.git"
#public url
#plugin 'tog_conversatio', :git => "git://github.com/cauta/tog_conversatio.git"
route "map.routes_from_plugin 'tog_conversatio'"
file "db/migrate/" + Time.now.strftime("%Y%m%d%H%M%S") + "_install_tog_conversatio.rb",
%q{class InstallTogConversatio < ActiveRecord::Migration
def self.up
migrate_plugin "tog_conversatio", 5
end
def self.down
migrate_plugin "tog_conversatio", 0
end
end
}
if yes?("Generate sphinx index? (only for MySQL and PostgreSQL)")
rake "thinking_sphinx:index"
end
rake "db:migrate"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment