flombe 0.1.0.4 → 0.1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/bootstrap.sh +6 -0
- data/cookbooks/homebrew/recipes/default.rb +8 -0
- data/lib/flombe.rb +1 -1
- metadata +2 -2
data/bootstrap.sh
CHANGED
@@ -5,6 +5,12 @@ echo "Run started on `date`" >> ~/.flombe/bootstrap.log 2>&1
|
|
5
5
|
which ruby >> ~/.flombe/bootstrap.log 2>&1
|
6
6
|
which gem >> ~/.flombe/bootstrap.log 2>&1
|
7
7
|
|
8
|
+
/usr/bin/xcode-select -print-path >> /dev/null 2>&1
|
9
|
+
if [ $? -ne 0 ]; then
|
10
|
+
echo "Sorry, you need to install xcode before continuing."
|
11
|
+
exit
|
12
|
+
fi
|
13
|
+
|
8
14
|
which gem | grep -q rvm
|
9
15
|
if [ $? -eq 0 ]; then
|
10
16
|
gem uninstall flombe -aIx >> ~/.flombe/bootstrap.log 2>&1
|
@@ -13,6 +13,14 @@ directory "#{ENV['HOME']}/.flombe" do
|
|
13
13
|
action :create
|
14
14
|
end
|
15
15
|
|
16
|
+
directory "/usr/local" do
|
17
|
+
mode 0775
|
18
|
+
owner ENV['USER']
|
19
|
+
group Etc.getgrgid(Process.gid).name
|
20
|
+
action :create
|
21
|
+
not_if "test -e /usr/local"
|
22
|
+
end
|
23
|
+
|
16
24
|
execute "install homebrew" do
|
17
25
|
command "ruby -e \"$(curl -fsSLk https://gist.github.com/raw/323731/install_homebrew.rb)\""
|
18
26
|
cwd "/usr/local"
|
data/lib/flombe.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: flombe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.0.
|
5
|
+
version: 0.1.0.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Stephen Craton
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-05-
|
13
|
+
date: 2011-05-19 00:00:00 +08:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|