<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ruby UUID Generator</title>
	<atom:link href="http://labnotes.org/2005/10/18/ruby-uuid-generator/feed/" rel="self" type="application/rss+xml" />
	<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/</link>
	<description></description>
	<lastBuildDate>Tue, 15 May 2012 02:41:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: UUIDHunter</title>
		<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/comment-page-1/#comment-143395</link>
		<dc:creator>UUIDHunter</dc:creator>
		<pubDate>Mon, 13 Sep 2010 19:23:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=160#comment-143395</guid>
		<description>Hello,

the first line in your example script &#039;uuid = UUID.new&#039; throws this error: uninitialized constant UUID (NameError)

Any idea why?

Thanks</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>the first line in your example script &#8216;uuid = UUID.new&#8217; throws this error: uninitialized constant UUID (NameError)</p>
<p>Any idea why?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexey</title>
		<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/comment-page-1/#comment-141631</link>
		<dc:creator>Alexey</dc:creator>
		<pubDate>Mon, 08 Dec 2008 17:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=160#comment-141631</guid>
		<description>In windows you can easily do the trick with  HOME system environment variable.

from command prompt:
set HOME=c:\home

But better:

right click on My Computer &gt; Advanced tab &gt; Environment variables button
then add &quot;New variable&quot; with name=&quot;HOME&quot; and value=&quot;c:\home&quot;
OK &gt; OK

you&#039;re done.

p.s. dont forget to create &quot;c:\home&quot; dir.
p.s.s. can replace &quot;c:\home&quot; with anything u want.

if you running &quot;ruby server/start&quot; from command prompt reopen it (command promt) to &quot;reload&quot; environment vars..

It worked for me.

Regards,</description>
		<content:encoded><![CDATA[<p>In windows you can easily do the trick with  HOME system environment variable.</p>
<p>from command prompt:<br />
set HOME=c:\home</p>
<p>But better:</p>
<p>right click on My Computer &gt; Advanced tab &gt; Environment variables button<br />
then add &#8220;New variable&#8221; with name=&#8221;HOME&#8221; and value=&#8221;c:\home&#8221;<br />
OK &gt; OK</p>
<p>you&#8217;re done.</p>
<p>p.s. dont forget to create &#8220;c:\home&#8221; dir.<br />
p.s.s. can replace &#8220;c:\home&#8221; with anything u want.</p>
<p>if you running &#8220;ruby server/start&#8221; from command prompt reopen it (command promt) to &#8220;reload&#8221; environment vars..</p>
<p>It worked for me.</p>
<p>Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Assaf</title>
		<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/comment-page-1/#comment-141596</link>
		<dc:creator>Assaf</dc:creator>
		<pubDate>Thu, 20 Nov 2008 01:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=160#comment-141596</guid>
		<description>I don&#039;t right now have a Windows setup to test this. I am working on that, but meanwhile if anyone can provide a patch.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t right now have a Windows setup to test this. I am working on that, but meanwhile if anyone can provide a patch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devon</title>
		<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/comment-page-1/#comment-141594</link>
		<dc:creator>Devon</dc:creator>
		<pubDate>Mon, 17 Nov 2008 22:29:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=160#comment-141594</guid>
		<description>I am getting the same error as the person above on my Windows development machine. 

ArgumentError: couldn&#039;t find HOME environment -- expanding `~/.ruby-uuid
- this is using 2.0, I have the older version working just fine on a test server</description>
		<content:encoded><![CDATA[<p>I am getting the same error as the person above on my Windows development machine. </p>
<p>ArgumentError: couldn&#8217;t find HOME environment &#8212; expanding `~/.ruby-uuid<br />
- this is using 2.0, I have the older version working just fine on a test server</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/comment-page-1/#comment-141513</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 28 Oct 2008 15:06:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=160#comment-141513</guid>
		<description>OK, so I&#039;m using 2.0 now, and it&#039;s working OK on my production Linux box. But on my Windows development machine it keeps erring with this message:

ArgumentError in LoginController#signin

couldn&#039;t find HOME environment -- expanding `~/.ruby-uuid&#039;

RAILS_ROOT: ./script/../config/..

Application Trace &#124; Framework Trace &#124; Full Trace

C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/uuid-2.0.1/lib/uuid.rb:147:in `expand_path&#039;
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/uuid-2.0.1/lib/uuid.rb:147:in `state_file&#039;
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/uuid-2.0.1/lib/uuid.rb:160:in `initialize&#039;
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/uuid-2.0.1/lib/uuid.rb:113:in `new&#039;
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/uuid-2.0.1/lib/uuid.rb:113:in `generate&#039;
C:/InstantRails/rails_apps/lifespan/app/models/contact.rb:113:in `remember_me&#039;
C:/InstantRails/rails_apps/lifespan/app/controllers/login_controller.rb:15:in `signin&#039;
-e:2:in `load&#039;
-e:2

I&#039;ve added permissions to the C:\Documents and Settings\All Users\Application Data folder so that Everyone has modify (read/write/exec) access, but it still fails. I even created the file manually, but still the error. I take it there is also no longer a uuid.config option that can be used to set the path to the uuid file?</description>
		<content:encoded><![CDATA[<p>OK, so I&#8217;m using 2.0 now, and it&#8217;s working OK on my production Linux box. But on my Windows development machine it keeps erring with this message:</p>
<p>ArgumentError in LoginController#signin</p>
<p>couldn&#8217;t find HOME environment &#8212; expanding `~/.ruby-uuid&#8217;</p>
<p>RAILS_ROOT: ./script/../config/..</p>
<p>Application Trace | Framework Trace | Full Trace</p>
<p>C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/uuid-2.0.1/lib/uuid.rb:147:in `expand_path&#8217;<br />
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/uuid-2.0.1/lib/uuid.rb:147:in `state_file&#8217;<br />
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/uuid-2.0.1/lib/uuid.rb:160:in `initialize&#8217;<br />
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/uuid-2.0.1/lib/uuid.rb:113:in `new&#8217;<br />
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/uuid-2.0.1/lib/uuid.rb:113:in `generate&#8217;<br />
C:/InstantRails/rails_apps/lifespan/app/models/contact.rb:113:in `remember_me&#8217;<br />
C:/InstantRails/rails_apps/lifespan/app/controllers/login_controller.rb:15:in `signin&#8217;<br />
-e:2:in `load&#8217;<br />
-e:2</p>
<p>I&#8217;ve added permissions to the C:\Documents and Settings\All Users\Application Data folder so that Everyone has modify (read/write/exec) access, but it still fails. I even created the file manually, but still the error. I take it there is also no longer a uuid.config option that can be used to set the path to the uuid file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Assaf</title>
		<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/comment-page-1/#comment-141449</link>
		<dc:creator>Assaf</dc:creator>
		<pubDate>Fri, 10 Oct 2008 19:54:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=160#comment-141449</guid>
		<description>UUID 2.0 is not just better but also different, uuid-setup is gone, and API changed a bit.  &lt;a href=&quot;http://github.com/assaf/uuid/wikis&quot;&gt;The documentation&lt;/a&gt; is now hosted on Github.</description>
		<content:encoded><![CDATA[<p>UUID 2.0 is not just better but also different, uuid-setup is gone, and API changed a bit.  <a href="http://github.com/assaf/uuid/wikis">The documentation</a> is now hosted on Github.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Bloom</title>
		<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/comment-page-1/#comment-141446</link>
		<dc:creator>Chris Bloom</dc:creator>
		<pubDate>Fri, 10 Oct 2008 14:25:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=160#comment-141446</guid>
		<description>I&#039;m currently running the uuid-2.0.1 gem, which worked before upgrading, but no longer. My app keeps erroring out with the message:

  &quot;can&#039;t convert UUID into String&quot;

Where do I call uuid-setup from? I tried it from my app root, but get a message saying:

  &quot;/usr/bin/uuid-setup:19:in `load&#039;: no such file to load -- uuid-setup&quot;
  &quot;(LoadError) from /usr/bin/uuid-setup:19&quot;

Any help would be appreciated.</description>
		<content:encoded><![CDATA[<p>I&#8217;m currently running the uuid-2.0.1 gem, which worked before upgrading, but no longer. My app keeps erroring out with the message:</p>
<p>  &#8220;can&#8217;t convert UUID into String&#8221;</p>
<p>Where do I call uuid-setup from? I tried it from my app root, but get a message saying:</p>
<p>  &#8220;/usr/bin/uuid-setup:19:in `load&#8217;: no such file to load &#8212; uuid-setup&#8221;<br />
  &#8220;(LoadError) from /usr/bin/uuid-setup:19&#8243;</p>
<p>Any help would be appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Assaf</title>
		<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/comment-page-1/#comment-140303</link>
		<dc:creator>Assaf</dc:creator>
		<pubDate>Sat, 12 Apr 2008 02:38:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=160#comment-140303</guid>
		<description>You can call UUID.config and tell it where the state file is located.

The state file is used to record the node ID and a sequence number that gets incremented each time you start the application, to prevent duplicate IDs.  It can be anywhere but ideally not in a temp directory because you want it to stick around.</description>
		<content:encoded><![CDATA[<p>You can call UUID.config and tell it where the state file is located.</p>
<p>The state file is used to record the node ID and a sequence number that gets incremented each time you start the application, to prevent duplicate IDs.  It can be anywhere but ideally not in a temp directory because you want it to stick around.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Meidell</title>
		<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/comment-page-1/#comment-140296</link>
		<dc:creator>Brian Meidell</dc:creator>
		<pubDate>Fri, 11 Apr 2008 08:19:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=160#comment-140296</guid>
		<description>Is there any chance you&#039;d consider storing the uuid.state file in the temp dir or somewhere besides the current dir?
Also, any chance you could make uuid default to not print out status messages on every invoke?</description>
		<content:encoded><![CDATA[<p>Is there any chance you&#8217;d consider storing the uuid.state file in the temp dir or somewhere besides the current dir?<br />
Also, any chance you could make uuid default to not print out status messages on every invoke?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey Jewett</title>
		<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/comment-page-1/#comment-137810</link>
		<dc:creator>Corey Jewett</dc:creator>
		<pubDate>Sun, 08 Apr 2007 03:39:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=160#comment-137810</guid>
		<description>Of course I can no longer reproduce the UUID problem. Very weird. I even turned fastthread on and off, but everything seems happy now. I don&#039;t think fastthread was enabled in the first place. Regardless, ignore my last.</description>
		<content:encoded><![CDATA[<p>Of course I can no longer reproduce the UUID problem. Very weird. I even turned fastthread on and off, but everything seems happy now. I don&#8217;t think fastthread was enabled in the first place. Regardless, ignore my last.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

