vboxer 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +58 -0
- metadata +48 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 636e8483c219fd892fbd0186319b59079526bb12
|
4
|
+
data.tar.gz: df8fe337d4e20eae81412bcf552f4721459b760c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 516addaf209e4c9b35d38b17a927bc0848e3a3a60bef04f67d6b74f13a4e688314f3ff4d6bd8f79d78f643df906a4f7047bc3a197502474e4b54ec871e2bfc6c
|
7
|
+
data.tar.gz: 8e6dcaa6a432fa460b5ac4f217ffda124c4b25b0d9a89625c9b29da0070b7c5e25d462f4e81a5581cae1b2f9eaf0ab777e696857c8b7452bcf0d1cb6807af939
|
data/README.md
ADDED
@@ -0,0 +1,58 @@
|
|
1
|
+
# Trying to test RVM with different linuxes.
|
2
|
+
|
3
|
+
## For start install gems
|
4
|
+
|
5
|
+
bundle install
|
6
|
+
veewee-templates-update
|
7
|
+
|
8
|
+
## Generate vm definition
|
9
|
+
|
10
|
+
vagrant basebox define 'rvm-ubuntu-11.10-i386' 'ubuntu-11.10-server-i386'
|
11
|
+
|
12
|
+
Download required iso
|
13
|
+
|
14
|
+
curl -L http://releases.ubuntu.com/11.10/ubuntu-11.10-server-i386.iso -o iso/ubuntu-11.10-server-i386.iso
|
15
|
+
|
16
|
+
## Configuration
|
17
|
+
|
18
|
+
Edit `definitions/rvm-ubuntu-11.10-i386/definition.rb` - adjust ram / cpu -> 1024-2048 / 1-2
|
19
|
+
|
20
|
+
Edit `definitions/rvm-ubuntu-11.10-i386/postinstall.sh` - replace ruby, rubygems, gem install code with:
|
21
|
+
|
22
|
+
# Install rvm & ruby
|
23
|
+
apt-get -y install curl gcc git-core libyaml-dev libsqlite3-dev libxml2-dev libxslt-dev libc6-dev ncurses-dev subversion
|
24
|
+
curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash
|
25
|
+
PATH=$PATH:/usr/local/rvm/bin
|
26
|
+
echo "gem: --no-ri --no-rdoc" | tee /home/vagrant/.gemrc > /root/.gemrc
|
27
|
+
rvm install 1.9.3
|
28
|
+
rvm alias create default 1.9.3
|
29
|
+
source /usr/local/rvm/environments/default
|
30
|
+
|
31
|
+
## Build the image
|
32
|
+
|
33
|
+
vagrant basebox build 'rvm-ubuntu-11.10-i386'
|
34
|
+
|
35
|
+
## Validate and export so it could be reused later
|
36
|
+
|
37
|
+
vagrant basebox validate rvm-ubuntu-11.10-i386
|
38
|
+
vagrant basebox export rvm-ubuntu-11.10-i386 rvm-ubuntu-11.10-i386.box
|
39
|
+
|
40
|
+
## Add the new vagrant package
|
41
|
+
|
42
|
+
vagrant box add 'rvm-ubuntu-11.10-i386' 'rvm-ubuntu-11.10-i386.box'
|
43
|
+
|
44
|
+
## Init the image
|
45
|
+
|
46
|
+
vagrant init 'rvm-ubuntu-11.10-i386'
|
47
|
+
|
48
|
+
## Start up image
|
49
|
+
|
50
|
+
vagrant up
|
51
|
+
|
52
|
+
## Connect to the image
|
53
|
+
|
54
|
+
vagrant ssh
|
55
|
+
|
56
|
+
## And finally run some tests
|
57
|
+
|
58
|
+
ruby -rreadline -rzlib -ropenssl -rcurses -ryaml -e 'puts :ok'
|
metadata
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: vboxer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jordon Bedwell
|
8
|
+
- Michal Papis
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2013-05-20 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description:
|
15
|
+
email:
|
16
|
+
- envygeeks@gmail.com
|
17
|
+
- mpapis@gmail.com
|
18
|
+
executables: []
|
19
|
+
extensions: []
|
20
|
+
extra_rdoc_files: []
|
21
|
+
files:
|
22
|
+
- README.md
|
23
|
+
homepage: https://github.com/mpapis/vboxer
|
24
|
+
licenses:
|
25
|
+
- Apache
|
26
|
+
metadata: {}
|
27
|
+
post_install_message:
|
28
|
+
rdoc_options: []
|
29
|
+
require_paths:
|
30
|
+
- lib
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
requirements: []
|
42
|
+
rubyforge_project:
|
43
|
+
rubygems_version: 2.0.3
|
44
|
+
signing_key:
|
45
|
+
specification_version: 4
|
46
|
+
summary: VBoxer
|
47
|
+
test_files: []
|
48
|
+
has_rdoc:
|