<?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>Mon, 15 Mar 2010 17:05:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>By: Assaf</title>
		<link>http://labnotes.org/2005/10/18/ruby-uuid-generator/comment-page-1/#comment-33532</link>
		<dc:creator>Assaf</dc:creator>
		<pubDate>Thu, 30 Nov 2006 18:30:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.labnotes.org/?p=160#comment-33532</guid>
		<description>Sidney,

I&#039;m going to remove the code that attempts to put the UUID state file in the Gems directory. It only works well when I originally used UUID inside an app, not as a Gem.

Then you can run uuid_setup to create a default uuid.state file, place it anywhere you want and have UUID point at it.

Expect a new release within a few days.</description>
		<content:encoded><![CDATA[<p>Sidney,</p>
<p>I&#8217;m going to remove the code that attempts to put the UUID state file in the Gems directory. It only works well when I originally used UUID inside an app, not as a Gem.</p>
<p>Then you can run uuid_setup to create a default uuid.state file, place it anywhere you want and have UUID point at it.</p>
<p>Expect a new release within a few days.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
