Skip to content

Commit

Permalink
Merge pull request puppetlabs#1505 from djmitche/fix/bug19493/master
Browse files Browse the repository at this point in the history
(#19493) suggest a 'specifications/lib' symlink to make puppet.gemspec's require work
  • Loading branch information
adrienthebo committed Feb 27, 2013
2 parents bea1d01 + 35afb42 commit f017798
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README_DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,21 @@ with the following actions. The trick is to symlink `gems` to `src`.
$ cd /workspace
$ ln -s src gems
$ mkdir specifications
$ pushd specifications; ln -s ../gems/puppet/puppet.gemspec; popd
$ pushd specifications; ln -s ../gems/puppet/puppet.gemspec; ln -s ../gems/puppet/lib; popd
$ export GEM_PATH="/workspace:${GEM_PATH}"
$ gem list puppet

This should list out

puppet (2.7.19)

The final directory structure should look like this:

/workspace/src --- git working directory
/gems -> src
/specifications/puppet.gemspec -> ../gems/puppet/puppet.gemspec
/lib -> ../gems/puppet/lib

## Bundler ##

With a source checkout of Puppet properly setup as a gem, dependencies can be
Expand Down

0 comments on commit f017798

Please sign in to comment.