Permalink
Browse files

README. Closes #777

  • Loading branch information...
1 parent 6df19f2 commit 42298266cde89e9b0934e557f57166113f837d5d @flavorjones flavorjones committed Oct 16, 2012
Showing with 5 additions and 8 deletions.
  1. +3 −6 README.rdoc
  2. +2 −2 Rakefile
View
@@ -122,13 +122,10 @@ Developing Nokogiri requires racc and rexical to generate the parser and
tokenizer. To start development, make sure you have `libxml2` and `libxslt`
installed.
-Then install hoe and rake-compiler:
+Then install core gems and bootstrap:
- $ gem install hoe rake-compiler racc rexical minitest
-
-Then run rake:
-
- $ rake
+ $ gem install hoe rake-compiler mini_portile
+ $ rake newb
=== Developing on JRuby
View
@@ -118,9 +118,9 @@ task 'gem:spec' => 'generate' if Rake::Task.task_defined?("gem:spec")
# dependencies in the Gemfile are constrainted to ruby platforms
# (i.e. MRI and Rubinius). There's no way to do that through hoe,
# and any solution will require changing hoe and hoe-bundler.
-old_gemfile_task = Rake::Task['bundler:gemfile']
+old_gemfile_task = Rake::Task['bundler:gemfile'] rescue nil
task 'bundler:gemfile' do
- old_gemfile_task.invoke
+ old_gemfile_task.invoke if old_gemfile_task
lines = File.open('Gemfile', 'r') { |f| f.readlines }.map do |line|
line =~ /racc|rexical/ ? "#{line.strip}, :platform => :ruby" : line

0 comments on commit 4229826

Please sign in to comment.