Issue #18516 has been updated by Andrew Parker.

Status changed from Unreviewed to Investigating

----------------------------------------
Bug #18516: puppet.gemspec getting file not found for lib/puppet/version require
https://projects.puppetlabs.com/issues/18516#change-94563

* Author: John Julien
* Status: Investigating
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 3.x
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
The documentation on Github for new developers has the following steps for 
setting up a development environment

`
$ cd /workspace
$ ln -s src gems
$ mkdir specifications
$ pushd specifications; ln -s ../gems/puppet/puppet.gemspec; popd
$ export GEM_PATH="/workspace:${GEM_PATH}"
$ gem list puppet
`
The new puppet.gemspec commited by 
https://github.com/puppetlabs/puppet/commit/0350afd5c64e176e05df15cc408facd93748ee94#puppet.gemspec
 now has the following require:

`require File.expand_path("../lib/puppet/version", __FILE__)`

This causes a file not found when following the developer documentation for 
setting up a new environment
Either the documentation should change or the puppet.gemspec file require 
should read
`require File.expand_path("../../gems/puppet/lib/puppet/version", __FILE__)`




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to