Skip to content

Instantly share code, notes, and snippets.

View thapakazi's full-sized avatar
🐧 🗡️ 💻

Milan Thapa thapakazi

🐧 🗡️ 💻
View GitHub Profile
# Ansible EC2 external inventory script settings
# to talk to a private eucalyptus instance uncomment these lines
# and edit edit eucalyptus_host to be the host name of your cloud controller
#eucalyptus = True
#eucalyptus_host =
thapakazi /
Created February 13, 2014 09:19
Update ruby version using rvm
#First of all, update your RVM installation by running
rvm get stable
#then to make sure you're running the new RVM version, you'll then need to run
rvm reload #(or just open a new terminal).
thapakazi / gist:8974369
Created February 13, 2014 12:37
9841465367- yagya dai.
9841465367- yagya dai.
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/deploy/path/.rvm/rubies/jruby-1.7.11/bin/jruby extconf.rb
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.
(root) at /deploy/path/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/mkmf.rb:8
require at org/jruby/
(root) at /deploy/path/.rvm/rubies/jruby-1.7.11/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
(root) at extconf.rb:1
#adding virualbox modules
sudo modprobe vboxdrv
#make a vbox hdd for the usb_drive
mkdir -p /tmp/VHardDisks