Browse files

updated README to reflect gemcutter gem source

  • Loading branch information...
1 parent 5c1ce48 commit 2bf5b23b5fdcb47f1c762d3326c59d0701ac179f @justinfrench committed Oct 21, 2009
Showing with 5 additions and 11 deletions.
  1. +5 −11 README.textile
@@ -79,30 +79,24 @@ RDoc documentation _should_ be automatically generated after each commit and mad
h2. Installation
-You can and should get it as a gem:
+The gem is hosted on gemcutter, so if you haven't already, add it as a gem source:
- gem install justinfrench-formtastic
+ sudo gem sources -a
-And then add it as a dependency in your environment.rb file:
+Then install the Formtastic gem:q
- config.gem "justinfrench-formtastic",
- :lib => 'formtastic',
- :source => ''
+ sudo gem install formtastic
-If you want, run the generator to copy the following files into your app:
+Optionally, run @./script/generate formtastic@ to copy the following files into your app:
* config/initializers/formtastic.rb (a commented out Formtastic config initializer)
* public/stylesheets/formtastic.css
* public/stylesheets/formtastic_changes.css
- ./script/generate formtastic
A proof-of-concept stylesheet is provided which you can include in your layout. Customization is best achieved by overriding these styles in an additional stylesheet so that the Formtastic styles can be updated without clobbering your changes. If you want to use these stylesheets, add both to your layout:

0 comments on commit 2bf5b23

Please sign in to comment.