Permalink
Browse files

make bin/bootstrapers executable

  • Loading branch information...
1 parent e2557fc commit 95c6f20121db7be2e2d69f8c8a763fa5769f9e31 @xdite committed Oct 7, 2012
Showing with 7 additions and 1 deletion.
  1. +2 −1 Rakefile
  2. +2 −0 bin/bootstrapers
  3. +3 −0 bootstrapers.gemspec
View
3 Rakefile
@@ -1 +1,2 @@
-require "bundler/gem_tasks"
+require 'bundler/setup'
+require 'bundler/gem_tasks'
View
2 bin/bootstrapers 100644 → 100755
@@ -1,6 +1,8 @@
#!/usr/bin/env ruby
require File.expand_path(File.join('..', 'lib', 'bootstrapers', 'generators', 'app_generator'), File.dirname(__FILE__))
+require File.expand_path(File.join('..', 'lib', 'bootstrapers', 'app_builder'), File.dirname(__FILE__))
+
templates_root = File.expand_path(File.join("..", "templates"), File.dirname(__FILE__))
Bootstrapers::AppGenerator.source_root templates_root
View
3 bootstrapers.gemspec
@@ -16,4 +16,7 @@ Gem::Specification.new do |gem|
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
+
+ gem.add_dependency 'rails', '3.2.8'
+ gem.add_dependency 'bundler', '>= 1.1'
end

0 comments on commit 95c6f20

Please sign in to comment.