On Fri, Mar 26, 2010 at 3:04 PM, Luke Kanies <[email protected]> wrote:
> Yeah, you have to have rspec (and mocha, I think) installed.  Puppet
> specifies a certain version of rspec - 1.2.9.

Also due to the braindead decision by gem upstream to break all older
versions by moving the repo, you'll need to do gem --update system on
OS X.

I was going to suggest MacPorts for a working ruby/rake/gem setup for
Puppet development, but just as I updated everything rake broke.



> On Mar 26, 2010, at 12:43 PM, Roy Nielsen wrote:
>
> Hello -
>
> I followed the directions on
> http://projects.reductivelabs.com/projects/puppet/wiki/Development_Development_Lifecycle
>
> attempted a "rake mail_patches" and it didn't work...
>
> here's the output of "rake mail_patches --trace":
>
> rsn$ rake mail_patches --trace
> (in /Users/rsn/src/puppet/0.25.x/puppet)
> rake aborted!
> no such file to load -- spec
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
> `gem_original_require'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
> `require'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
> `require'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:342:in
> `new_constants_in'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/activesupport-1.4.4/lib/active_support/dependencies.rb:495:in
> `require'
> /Users/rsn/src/puppet/0.25.x/puppet/rakefile:10
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in
> `load'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1940:in
> `raw_load_rakefile'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1727:in
> `load_rakefile'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
> `standard_exception_handling'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1726:in
> `load_rakefile'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1710:in
> `run'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
> `standard_exception_handling'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in
> `run'
> /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
> /usr/bin/rake:19:in `load'
> /usr/bin/rake:19
> rsn$
>
> my machine is an OSX 10.5 box.
>
> guess I'm missing some gems?
>
> Thanks,
> -Roy
>
> On Fri, Mar 26, 2010 at 11:39 AM, Markus Roberts <[email protected]>
> wrote:
>>
>> Roy --
>>
>>> Is there a chance that the patch on:
>>>
>>> http://projects.reductivelabs.com/issues/3378
>>>
>>> might find it's way into rc1?
>>
>> It will need to be reviewed first, but sure.  Can you:
>>
>> 1. run "rake mail_patches" on that branch to send it to the list
>> 2. put your branch up on github
>> 3. Add the url of your branch to the "branch" field of the ticket and mark
>> the ticket "Ready for testing"
>>
>> If you need help with any of the steps, just ask here on the list and I'm
>> sure one of the fine and helpful folks will lend a hand.
>>
>> -- Markus
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Developers" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/puppet-dev?hl=en.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/puppet-dev?hl=en.
>
>
> --
> Writing is not necessarily something to be ashamed of, but do it in
> private and wash your hands afterwards. --Robert Heinlein
> ---------------------------------------------------------------------
> Luke Kanies  -|-   http://puppetlabs.com   -|-   +1(615)594-8199
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/puppet-dev?hl=en.
>



-- 
nigel

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to