Fix dev boxes gem home on .gemrc
This commit is contained in:
parent
d12f5c1d62
commit
08221913dd
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ gem: --no-ri --no-rdoc
|
||||||
:backtrace: false
|
:backtrace: false
|
||||||
:bulk_threshold: 1000
|
:bulk_threshold: 1000
|
||||||
:benchmark: false
|
:benchmark: false
|
||||||
gemhome: $HOME/gems
|
gemhome: /home/vagrant/gems
|
||||||
gempath:
|
gempath:
|
||||||
- /home/vagrant/gems
|
- /home/vagrant/gems
|
||||||
- /usr/local/lib/ruby/gems/1.8
|
- /usr/local/lib/ruby/gems/1.8
|
||||||
|
@ -78,7 +78,7 @@ exec {
|
||||||
command => 'cat << EOF >> /home/vagrant/.profile
|
command => 'cat << EOF >> /home/vagrant/.profile
|
||||||
export GEM_HOME=/home/vagrant/gems
|
export GEM_HOME=/home/vagrant/gems
|
||||||
export GEM_PATH=/home/vagrant/gems:/var/lib/gems/1.9.1
|
export GEM_PATH=/home/vagrant/gems:/var/lib/gems/1.9.1
|
||||||
export PATH=$PATH:/vagrant/gems/bin
|
export PATH=$PATH:/home/vagrant/gems/bin
|
||||||
EOF',
|
EOF',
|
||||||
unless => 'grep -q "GEM_HOME" /home/vagrant/.profile'
|
unless => 'grep -q "GEM_HOME" /home/vagrant/.profile'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue