changeset 291:d701cf49fa3b

Add rails scripts. To bin.
author edogawaconan <me@myconan.net>
date Wed, 16 Oct 2013 13:47:48 +0900
parents d68cb68da802
children 207853e26088
files bin/bundle bin/rails bin/rake
diffstat 3 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/bundle	Wed Oct 16 13:47:48 2013 +0900
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
+load Gem.bin_path('bundler', 'bundle')
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/rails	Wed Oct 16 13:47:48 2013 +0900
@@ -0,0 +1,4 @@
+#!/usr/bin/env ruby
+APP_PATH = File.expand_path('../../config/application',  __FILE__)
+require_relative '../config/boot'
+require 'rails/commands'
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/rake	Wed Oct 16 13:47:48 2013 +0900
@@ -0,0 +1,4 @@
+#!/usr/bin/env ruby
+require_relative '../config/boot'
+require 'rake'
+Rake.application.run