Permalink
Browse files

Add bundler support because screw `sudo gem install`

  • Loading branch information...
1 parent b220c4d commit 5d80c394ff0e408dec270a3cde67b65f3e5fa848 @tekkub tekkub committed Oct 18, 2012
Showing with 23 additions and 6 deletions.
  1. +3 −0 Gemfile
  2. +12 −0 Gemfile.lock
  3. +8 −6 README.markdown
View
@@ -0,0 +1,3 @@
+source "http://rubygems.org"
+
+gem 'maruku'
View
@@ -0,0 +1,12 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ maruku (0.6.1)
+ syntax (>= 1.0.0)
+ syntax (1.0.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ maruku
View
@@ -1,8 +1,8 @@
Learn.GitHub.com
================
-This is the code and data behind [learn.github.com](http://learn.github.com).
-The page content lives in the pages/ directory and is compiled into the HTML
+This is the code and data behind [learn.github.com](http://learn.github.com).
+The page content lives in the pages/ directory and is compiled into the HTML
output in p/. Normally, generated files like these wouldn't be checked into
source control, but it's required for the
[GitHub Pages](http://pages.github.com/) hosting.
@@ -15,9 +15,10 @@ changes.
Dependencies, Getting Started
-----------------------------
-Compiling the site requires maruku, which can be installed with:
+Compiling the site requires maruku, which can be installed with
+[Bundler](http://gembundler.com/):
- sudo gem install maruku
+ bundle install
Once you've done that, just run rake to compile the site:
@@ -28,10 +29,11 @@ Contributing
-----------------------------
To contribute to the learn.github site, you can fork the repository,
-push your changes into it and send a pull request.
+push your changes into it and send a pull request.
If you want to run the site on GitHub pages for testing, you can push your
-changes into your fork of the repository and it will render at the usual convention of
+changes into your fork of the repository and it will render at the usual
+convention of
http://YOURUSERNAME.github.com/THEREPONAME

0 comments on commit 5d80c39

Please sign in to comment.