You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by rl...@redhat.com on 2012/11/20 21:01:58 UTC

[PATCH] Site: Add note about require_relative gem install for Deltacloud 1.0.5

Hi,

Added a note to the Install documentation on the Deltacloud website detailing the fix for 'no such file to load -- require_relative' error on platforms with Ruby versions < 1.9. Formatting of this page needs to be checked before pushing this patch.




Re: [PATCH] Site: Add note about require_relative gem install for Deltacloud 1.0.5

Posted by Francesco Vollero <ra...@gmail.com>.
Hi Ronelle, 

great stuff! Thanks for submitting this patch. I tested and it worked flawlessly!!!

Ack: Francesco Vollero <fv...@redhat.com>
Tested: Francesco Vollero <fv...@redhat.com>


Cheers,
-FV

On Nov 20, 2012, at 9:01 PM, rlandy@redhat.com wrote:

> From: Ronelle Landy <rl...@redhat.com>
> 
> ---
> site/content/install-deltacloud.md |    8 ++++++++
> 1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/site/content/install-deltacloud.md b/site/content/install-deltacloud.md
> index 1a73afc..88c6cee 100644
> --- a/site/content/install-deltacloud.md
> +++ b/site/content/install-deltacloud.md
> @@ -140,6 +140,14 @@ the Wiki</a>. Note that they require using homebrew.
> 
> <p><strong>And thats it!</strong> The gem install command will automatically fetch and install all other gems that the Deltacloud server needs. As an alternative you can get the latest releases of Deltacloud from the <a href="http://www.apache.org/dist/deltacloud/">Apache website</a>.</p>
> 
> +<p><span class="label">Note:</span> When installing and running Deltacloud on platforms with Ruby versions 1.8.x, the 'require_relative' gem needs to be installed. This gem should be automatically installed with the deltacloud-core gem however, if this does not occur, the follow error will be thrown when starting Deltacloud: </p>
> +
> +<pre>/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- require_relative (LoadError)</pre>
> +
> +<p>The fix is to explicitly install the 'require_relative' gem: </p>
> +
> +<pre>$ sudo gem install require_relative</pre>
> +
> <a class="btn btn-inverse btn-large" style="float: right" href="/run-deltacloud-server.html">Run Deltacloud</a>
> 
> <br/>
> -- 
> 1.7.7.6
> 


Re: [PATCH] Site: Add note about require_relative gem install for Deltacloud 1.0.5

Posted by "marios@redhat.com" <ma...@redhat.com>.
On 21/11/12 09:29, marios@redhat.com wrote:
> ACK - thanks Ronelle! As this is a site change you need to include the
> generated output (do 'nanoc autocompile' under the /site directory).
> Then make sure to push to the svn repo (git-svn) as well as the usual
> git repo. ping me on irc (not sure if you're committer? If not, then
> I'll do this for you)

pushed to site - thanks.

> 
> marios
> 
> On 20/11/12 22:01, rlandy@redhat.com wrote:
>> From: Ronelle Landy <rl...@redhat.com>
>>
>> ---
>>  site/content/install-deltacloud.md |    8 ++++++++
>>  1 files changed, 8 insertions(+), 0 deletions(-)
>>
>> diff --git a/site/content/install-deltacloud.md b/site/content/install-deltacloud.md
>> index 1a73afc..88c6cee 100644
>> --- a/site/content/install-deltacloud.md
>> +++ b/site/content/install-deltacloud.md
>> @@ -140,6 +140,14 @@ the Wiki</a>. Note that they require using homebrew.
>>  
>>  <p><strong>And thats it!</strong> The gem install command will automatically fetch and install all other gems that the Deltacloud server needs. As an alternative you can get the latest releases of Deltacloud from the <a href="http://www.apache.org/dist/deltacloud/">Apache website</a>.</p>
>>  
>> +<p><span class="label">Note:</span> When installing and running Deltacloud on platforms with Ruby versions 1.8.x, the 'require_relative' gem needs to be installed. This gem should be automatically installed with the deltacloud-core gem however, if this does not occur, the follow error will be thrown when starting Deltacloud: </p>
>> +
>> +<pre>/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- require_relative (LoadError)</pre>
>> +
>> +<p>The fix is to explicitly install the 'require_relative' gem: </p>
>> +
>> +<pre>$ sudo gem install require_relative</pre>
>> +
>>  <a class="btn btn-inverse btn-large" style="float: right" href="/run-deltacloud-server.html">Run Deltacloud</a>
>>  
>>  <br/>
>>
> 


Re: [PATCH] Site: Add note about require_relative gem install for Deltacloud 1.0.5

Posted by "marios@redhat.com" <ma...@redhat.com>.
ACK - thanks Ronelle! As this is a site change you need to include the
generated output (do 'nanoc autocompile' under the /site directory).
Then make sure to push to the svn repo (git-svn) as well as the usual
git repo. ping me on irc (not sure if you're committer? If not, then
I'll do this for you)

marios

On 20/11/12 22:01, rlandy@redhat.com wrote:
> From: Ronelle Landy <rl...@redhat.com>
> 
> ---
>  site/content/install-deltacloud.md |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/site/content/install-deltacloud.md b/site/content/install-deltacloud.md
> index 1a73afc..88c6cee 100644
> --- a/site/content/install-deltacloud.md
> +++ b/site/content/install-deltacloud.md
> @@ -140,6 +140,14 @@ the Wiki</a>. Note that they require using homebrew.
>  
>  <p><strong>And thats it!</strong> The gem install command will automatically fetch and install all other gems that the Deltacloud server needs. As an alternative you can get the latest releases of Deltacloud from the <a href="http://www.apache.org/dist/deltacloud/">Apache website</a>.</p>
>  
> +<p><span class="label">Note:</span> When installing and running Deltacloud on platforms with Ruby versions 1.8.x, the 'require_relative' gem needs to be installed. This gem should be automatically installed with the deltacloud-core gem however, if this does not occur, the follow error will be thrown when starting Deltacloud: </p>
> +
> +<pre>/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- require_relative (LoadError)</pre>
> +
> +<p>The fix is to explicitly install the 'require_relative' gem: </p>
> +
> +<pre>$ sudo gem install require_relative</pre>
> +
>  <a class="btn btn-inverse btn-large" style="float: right" href="/run-deltacloud-server.html">Run Deltacloud</a>
>  
>  <br/>
> 


[PATCH] Site: Add note about require_relative gem install for Deltacloud 1.0.5

Posted by rl...@redhat.com.
From: Ronelle Landy <rl...@redhat.com>

---
 site/content/install-deltacloud.md |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/site/content/install-deltacloud.md b/site/content/install-deltacloud.md
index 1a73afc..88c6cee 100644
--- a/site/content/install-deltacloud.md
+++ b/site/content/install-deltacloud.md
@@ -140,6 +140,14 @@ the Wiki</a>. Note that they require using homebrew.
 
 <p><strong>And thats it!</strong> The gem install command will automatically fetch and install all other gems that the Deltacloud server needs. As an alternative you can get the latest releases of Deltacloud from the <a href="http://www.apache.org/dist/deltacloud/">Apache website</a>.</p>
 
+<p><span class="label">Note:</span> When installing and running Deltacloud on platforms with Ruby versions 1.8.x, the 'require_relative' gem needs to be installed. This gem should be automatically installed with the deltacloud-core gem however, if this does not occur, the follow error will be thrown when starting Deltacloud: </p>
+
+<pre>/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- require_relative (LoadError)</pre>
+
+<p>The fix is to explicitly install the 'require_relative' gem: </p>
+
+<pre>$ sudo gem install require_relative</pre>
+
 <a class="btn btn-inverse btn-large" style="float: right" href="/run-deltacloud-server.html">Run Deltacloud</a>
 
 <br/>
-- 
1.7.7.6