-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new build with rvm supporting ruby 1.8.7 and 1.9.2
- Loading branch information
1 parent
581dd86
commit 13c1442
Showing
11 changed files
with
360 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
vagrant/chef-repo/cookbooks/vagrant_main/attributes/default.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,6 @@ | |||
set[:mysql][:sabshere_override_password] = 'password' | |||
set[:mysql][:server_root_password] = 'password' | set[:mysql][:server_root_password] = 'password' | ||
set[:mysql][:server_debian_password] = 'password' | set[:mysql][:server_debian_password] = 'password' | ||
set[:mysql][:bind_address] = '0.0.0.0' | set[:mysql][:bind_address] = '0.0.0.0' | ||
set[:apache][:user] = 'vagrant' | set[:apache][:user] = 'vagrant' | ||
set[:passenger_enterprise][:version] = "2.2.11" | # set[:passenger_enterprise][:version] = "2.2.11" | ||
set[:passenger][:version] = "2.2.11" | # set[:passenger][:version] = "2.2.11" |
30 changes: 30 additions & 0 deletions
30
vagrant/chef-repo/cookbooks/vagrant_main/files/default/gem.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,30 @@ | |||
#!/usr/bin/ruby1.8 | |||
#-- | |||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others. | |||
# All rights reserved. | |||
# See LICENSE.txt for permissions. | |||
#++ | |||
|
|||
# sabshere 9/30/10 to break myself of the habit | |||
if ENV['SUDO_COMMAND'] =~ /^\/usr\/bin\/gem/ | |||
raise '[hagar1] If you want to sudo gem, first sudo su' | |||
end | |||
|
|||
require 'rubygems' | |||
require 'rubygems/gem_runner' | |||
require 'rubygems/exceptions' | |||
|
|||
required_version = Gem::Requirement.new ">= 1.8.6" | |||
|
|||
unless required_version.satisfied_by? Gem.ruby_version then | |||
abort "Expected Ruby Version #{required_version}, is #{Gem.ruby_version}" | |||
end | |||
|
|||
args = ARGV.clone | |||
|
|||
begin | |||
Gem::GemRunner.new.run args | |||
rescue Gem::SystemExitException => e | |||
exit e.exit_code | |||
end | |||
|
49 changes: 0 additions & 49 deletions
49
vagrant/chef-repo/cookbooks/vagrant_main/files/default/rep.rb
This file was deleted.
Oops, something went wrong.
2 changes: 2 additions & 0 deletions
2
vagrant/chef-repo/cookbooks/vagrant_main/files/ruby_version.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,2 @@ | |||
#!/usr/bin/env ruby | |||
puts "#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}" |
Oops, something went wrong.