Add the requirement for libxml2 to the readme #35

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
4 participants
Owner

samphippen commented Mar 23, 2013

The dev environment needs nokogiri which also needs you to have the libxml2 dev headers installed. I had to do this with sudo apt-get install libxml2-dev on my Ubuntu box. We should document this.

Owner

samphippen commented Mar 23, 2013

I also had to install libxslt2-dev, going to update this again.

README.markdown
- sqlite3 # for rspec-rails
+ sqlite3 # for rspec-rails
+ libxml2 # specifically the dev headers for nokogiri
+ libxslt2 # specifically the dev headers for nokogiri
@myronmarston

myronmarston Mar 23, 2013

Owner

It'd be nice to know which of the rspec repos needs nokogiri (I wasn't aware it was needed -- which suggests it's rspec-rails). Can you add that detail here?

Owner

samphippen commented Mar 24, 2013

@myronmarston here's the relevant part of the bundle install trace (from my mac which now has these deps, using ruby 2.0.0)

==================================================
# repos/rspec-core
# bundle install --binstubs --gemfile ./Gemfile
----------------------------------------
bundle install --binstubs --gemfile ./Gemfile
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using rake (10.0.3) 
Installing ZenTest (4.9.0) 
Using ffi (1.5.0) 
Using childprocess (0.3.9) 
Using builder (3.2.0) 
Using diff-lcs (1.2.1) 
Using json (1.7.7) 
Using gherkin (2.9.3) 
Using term-ansicolor (1.1.1) 
Using cucumber (1.1.9) 
Using rspec-expectations (2.13.0) from source at /private/tmp/rspec-dev/repos/rspec-expectations 
Using aruba (0.5.1) 
Installing flexmock (0.9.0) 
Using github-markup (0.7.2) 
Installing metaclass (0.0.1) 
Installing mocha (0.13.3) 
Installing nokogiri (1.5.2) 
Owner

samphippen commented Mar 24, 2013

Also in here:

==================================================
# repos/rspec-rails
# thor version:use 3.2.8
----------------------------------------
thor version:use 3.2.8
rm: Gemfile.lock: No such file or directory
<snip>
Installing nokogiri (1.5.9)
Owner

samphippen commented Mar 24, 2013

I stumbled across some nokogiri whilst buliding some stuff for rspec-core. See this file

Owner

samphippen commented Aug 23, 2013

@myronmarston @JonRowe @alindeman @soulcutter I know this one's a little stale, but can you take a look and tell me what you think?

Owner

JonRowe commented Aug 23, 2013

Do we need to document this? It's a nokogiri requirement

Member

soulcutter commented Aug 24, 2013

I don't feel it needs documenting. If you have trouble installing nokogiri, you look up nokogiri's dependencies. But I don't feel very strongly about it. There is a typo in the PR FWIW

Owner

myronmarston commented Aug 24, 2013

I agree with the others: I don't think we need to list dependencies-of-dependencies. Plus that's only needed for rspec-rails development, not for general rspec dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment