<div dir="ltr"><br><div>Hi Carol, </div><div><br></div><div>Yes, this is why we recommend using RVM as noted here: <a href="http://www.mediawiki.org/w/index.php?title=Meetings/2013-07-18#Ruby_on_Linux">http://www.mediawiki.org/w/index.php?title=Meetings/2013-07-18#Ruby_on_Linux</a> </div>
<div><br></div><div>The default Ruby on Ubuntu is fairly crippled. If you have RVM, you might need to do<span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.800000190734863px;line-height:19.200000762939453px"> </span><code style="color:rgb(0,0,0);font-size:12.800000190734863px;line-height:19.200000762939453px;border:1px solid rgb(221,221,221);padding:1px 4px;border-top-left-radius:2px;border-top-right-radius:2px;border-bottom-right-radius:2px;border-bottom-left-radius:2px;font-family:monospace,Courier;background-color:rgb(249,249,249)">source ~/.rvm/scripts/rvm</code><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.800000190734863px;line-height:19.200000762939453px"> </span><span style="color:rgb(0,0,0);font-family:sans-serif;font-size:12.800000190734863px;line-height:19.200000762939453px">to use RVM properly</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 18, 2013 at 8:55 AM, Carol Sanders <span dir="ltr"><<a href="mailto:carol@carolsanders.org" target="_blank">carol@carolsanders.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#3333FF" bgcolor="#FFFFFF"><div><div class="h5">
<div>On 07/18/2013 07:32 AM, Željko Filipin
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">
<div class="gmail_extra">On Thu, Jul 18, 2013 at 4:00 PM, Quim
Gil <span dir="ltr"><<a href="mailto:qgil@wikimedia.org" target="_blank">qgil@wikimedia.org</a>></span>
wrote:<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I
just completed the Vagrant route alone on my laptop,
running Ubuntu.</blockquote>
</div>
<br>
Great. Can you let me know your Ubuntu version (Ubuntu 13.04
32-bit?) so I can add it to "tested on"[1]?<br>
</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Željko</div>
<div class="gmail_extra">
--</div>
<div class="gmail_extra">1: <a href="https://www.mediawiki.org/wiki/Meetings/2013-07-18#Setup_virtual_machine" target="_blank">https://www.mediawiki.org/wiki/Meetings/2013-07-18#Setup_virtual_machine</a></div>
</div>
<br>
<fieldset></fieldset>
<br>
</div></div><div class="im"><pre>_______________________________________________
QA mailing list
<a href="mailto:QA@lists.wikimedia.org" target="_blank">QA@lists.wikimedia.org</a>
<a href="https://lists.wikimedia.org/mailman/listinfo/qa" target="_blank">https://lists.wikimedia.org/mailman/listinfo/qa</a>
</pre>
</div></blockquote>
The install instructions to setup your environment do not work with
Ubuntu 13.04. <br>
Below are the error messages I received when attempting to setup my
environment on two different Ubuntu 13.04 installations.<br>
Is it necessary for me to make my Ruby installation unstable
according to Debian in order to have the required test environment?<br>
<br>
<font size="-1">:~/browsertests$ gem update --system<br>
<font color="#006600">ERROR: While executing gem ...
(RuntimeError)<br>
gem update --system is disabled on Debian, because it will
overwrite the content of the rubygems Debian package, and might
break your Debian system in subtle ways. The Debian-supported
way to update rubygems is through apt-get, using Debian official
repositories.<br>
If you really know what you are doing, you can still update
rubygems by setting the REALLY_GEM_UPDATE_SYSTEM environment
variable, but please remember that this is completely
unsupported by Debian.<br>
carolsand@casubuntu-lt:~/browsertests$ gem install bundler</font><br>
Fetching: bundler-1.3.5.gem (100%)<br>
ERROR: While executing gem ... (Errno::EACCES)<br>
Permission denied - /var/lib/gems<br>
<br>
carolsand@casubuntu-lt:~/browsertests$ sudo gem install bundler<br>
Fetching: bundler-1.3.5.gem (100%)<br>
Successfully installed bundler-1.3.5<br>
1 gem installed<br>
Installing ri documentation for bundler-1.3.5...<br>
Installing RDoc documentation for bundler-1.3.5...<br>
carolsand@casubuntu-lt:~/browsertests$ bundle install<br>
Fetching gem metadata from <a href="https://rubygems.org/" target="_blank">https://rubygems.org/</a>..........<br>
Fetching gem metadata from <a href="https://rubygems.org/" target="_blank">https://rubygems.org/</a>..<br>
Installing rake (10.1.0) <br>
Installing builder (3.2.2) <br>
Installing ffi (1.9.0) <br>
<font color="#006600">Gem::Installer::ExtensionBuildError: ERROR:
Failed to build gem native extension.<br>
<br>
/usr/bin/ruby1.9.1 extconf.rb <br>
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require':
cannot load such file -- mkmf (LoadError)<br>
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'<br>
from extconf.rb:4:in `<main>'<br>
</font><br>
<br>
Gem files will remain installed in
/home/carolsand/.bundler/tmp/31864/gems/ffi-1.9.0 for inspection.<br>
Results logged to
/home/carolsand/.bundler/tmp/31864/gems/ffi-1.9.0/ext/ffi_c/gem_make.out<br>
<br>
<font color="#006600">An error occurred while installing ffi
(1.9.0), and Bundler cannot continue</font>.<br>
Make sure that `gem install ffi -v '1.9.0'` succeeds before
bundling.<br>
carolsand@casubuntu-lt:~/browsertests$ <br>
</font><br>
<br>
Thank you,<br>
<br>
Carol<br>
</div>
<br>_______________________________________________<br>
QA mailing list<br>
<a href="mailto:QA@lists.wikimedia.org">QA@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/qa" target="_blank">https://lists.wikimedia.org/mailman/listinfo/qa</a><br>
<br></blockquote></div><br></div>