-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alex Olson
committed
Dec 20, 2010
1 parent
d0f4788
commit 6437005
Showing
7 changed files
with
109 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,5 @@ config/appbuilder.yml | |
db/*.sqlite3 | ||
.project | ||
.tmp* | ||
.bundle* | ||
*.swp* |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \ | ||
&& -s "${rvm_path:-$HOME/.rvm}/environments/ruby-1.8.7-p302@appbuilder" ]] ; then | ||
\. "${rvm_path:-$HOME/.rvm}/environments/ruby-1.8.7-p302@appbuilder" | ||
else | ||
rvm --create use "ruby-1.8.7-p302@appbuilder" | ||
fi |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# A sample Gemfile | ||
source "http://rubygems.org" | ||
|
||
gem "rails", "2.3.8" | ||
gem "authlogic" | ||
gem "httparty" | ||
gem "oauth" | ||
gem "kynetx_am_api" | ||
gem "multipart-post", :require => "net/http/post/multipart" | ||
gem "sqlite3-ruby", :require => "sqlite3" |
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 | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
actionmailer (2.3.8) | ||
actionpack (= 2.3.8) | ||
actionpack (2.3.8) | ||
activesupport (= 2.3.8) | ||
rack (~> 1.1.0) | ||
activerecord (2.3.8) | ||
activesupport (= 2.3.8) | ||
activeresource (2.3.8) | ||
activesupport (= 2.3.8) | ||
activesupport (2.3.8) | ||
authlogic (2.1.6) | ||
activesupport | ||
crack (0.1.8) | ||
httparty (0.6.1) | ||
crack (= 0.1.8) | ||
json (1.4.6) | ||
kynetx_am_api (0.1.29) | ||
json | ||
multipart-post | ||
oauth | ||
multipart-post (1.0.1) | ||
oauth (0.4.4) | ||
rack (1.1.0) | ||
rails (2.3.8) | ||
actionmailer (= 2.3.8) | ||
actionpack (= 2.3.8) | ||
activerecord (= 2.3.8) | ||
activeresource (= 2.3.8) | ||
activesupport (= 2.3.8) | ||
rake (>= 0.8.3) | ||
rake (0.8.7) | ||
sqlite3-ruby (1.3.2) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
authlogic | ||
httparty | ||
kynetx_am_api | ||
multipart-post | ||
oauth | ||
rails (= 2.3.8) | ||
sqlite3-ruby |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
begin | ||
require "rubygems" | ||
require "bundler" | ||
rescue LoadError | ||
raise "Could not load the bundler gem. Install it with `gem install bundler`." | ||
end | ||
|
||
if Gem::Version.new(Bundler::VERSION) <= Gem::Version.new("0.9.24") | ||
raise RuntimeError, "Your bundler version is too old for Rails 2.3." + | ||
"Run `gem install bundler` to upgrade." | ||
end | ||
|
||
begin | ||
# Set up load paths for all bundled gems | ||
ENV["BUNDLE_GEMFILE"] = File.expand_path("../../Gemfile", __FILE__) | ||
Bundler.setup | ||
rescue Bundler::GemNotFound | ||
raise RuntimeError, "Bundler couldn't find some gems." + | ||
"Did you run `bundle install`?" | ||
end | ||
|