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 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
@@ -5,7 +5,7 @@ require "tmpdir"
5
5
  require "json"
6
6
 
7
7
  module Flombe
8
- VERSION = "0.1.0.4"
8
+ VERSION = "0.1.0.5"
9
9
 
10
10
  autoload :Dsl, 'flombe/dsl'
11
11
 
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.4
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-18 00:00:00 +08:00
13
+ date: 2011-05-19 00:00:00 +08:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency