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:58:15 -0800 2007
commit  b332cfa2435c739c0bcfdbf50ef541f2a00a6374
tree    fc3dae521e091b5be383dc2926e6ca0fa58b4fab
parent  c0312fcd234ca07b97b185bb649e869eb0f0b619
simple_pages / install.rb
100644 17 lines (13 sloc) 0.834 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
puts IO.read(File.join(File.dirname(__FILE__), 'README'))
 
 
puts "If you want to use version-control with your pages you'll need to run the following command to install Techno-Weenie's ActsAsVersioned plugin (highly recommended)"
puts "Just copy and past the following into your shell:"
puts ''
puts " ruby #{RAILS_ROOT}/script/plugin install -x http://svn.techno-weenie.net/projects/plugins/acts_as_versioned"
puts ''
 
unless File.exists?("#{RAILS_ROOT}/vendor/plugins/engines")
  puts "WARNING: you do not have the engines plugin installed. This is a necessary requirement for the simple_pages plugin to work."
  puts "Please install the engines plugin by running the following command in your shell:"
  puts ''
  puts " ruby #{RAILS_ROOT}/script/plugin install -x http://svn.rails-engines.org/plugins/engines"
  puts ''
end