GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: Rails Plugin - a RailsEngines-based CMS extension for any Rails project
Homepage: http://6brand.com
Clone URL: git://github.com/JackDanger/simple_pages.git
studioda (author)
Wed Feb 21 08:33:15 -0800 2007
commit  2cbd546254729c37fdbffab01e230c073d547ed8
tree    f53f586f46dec307d98d0ee934fc1969287320bf
parent  18c02ad6950e25eb1e3f2f971c8503e865c460de
simple_pages / install.rb
100644 8 lines (5 sloc) 0.313 kb
1
2
3
4
5
6
7
8
puts IO.read(File.join(File.dirname(__FILE__), 'README'))
 
p Kernel.gets
 
puts "Do you want to use version-control with your pages? (Recommended)"
puts "[y/n]:"
system("ruby #{RAILS_ROOT}/script/plugin install -x http://svn.techno-weenie.net/projects/plugins/acts_as_versioned") unless gets.chomp.downcase == 'n'