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 09:01:24 -0800 2007
commit  5d17ab16d4423ad632e68cecf773670b77d912cb
tree    f1b6b9d76ad0638d22087106657ef4b4755780e0
parent  b332cfa2435c739c0bcfdbf50ef541f2a00a6374
simple_pages / install.rb
100644 21 lines (17 sloc) 0.988 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
puts IO.read(File.join(File.dirname(__FILE__), 'README'))
 
 
unless File.exists?("#{RAILS_ROOT}/vendor/plugins/acts_as_versioned")
  puts ''
  puts '--------------------------------------------------'
  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 ''
end
 
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