Skip to content

Instantly share code, notes, and snippets.

@julio-saito-linx
Last active December 12, 2015 10:39
Show Gist options
  • Save julio-saito-linx/4760770 to your computer and use it in GitHub Desktop.
Save julio-saito-linx/4760770 to your computer and use it in GitHub Desktop.
toto, ruby, fast configuration
gem install heroku
git clone git://github.com/cloudhead/dorothy.git myblog
cd myblog
heroku create
sublime Gemfile # or other editor
# copy all code from Gemfile below
bundle install
git add . -A
git commit -m"Gemfile added"
git push heroku master
$ git clone git://github.com/cloudhead/dorothy.git myblog
Cloning into 'myblog'...
remote: Counting objects: 202, done.
remote: Compressing objects: 100% (106/106), done.
remote: Total 202 (delta 88), reused 181 (delta 81)
Receiving objects: 100% (202/202), 20.95 KiB, done.
Resolving deltas: 100% (88/88), done.
$ cd myblog
$ heroku create
Creating boiling-chamber-5005... done, stack is cedar
http://boiling-chamber-5005.herokuapp.com/ | git@heroku.com:boiling-chamber-5005.git
Git remote heroku added
$ sublime Gemfile
$ bundle install
Fetching gem metadata from http://rubygems.org/...
.......
Using builder (3.1.4)
Using rack (1.5.2)
Using rdiscount (2.0.7)
Using toto (0.4.9)
Using bundler (1.2.3)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
$ git add . -A
$ git commit -m"Gemfile added"
[master b40de9c] Gemfile added
2 files changed, 26 insertions(+)
create mode 100644 Gemfile
create mode 100644 Gemfile.lock
$ git push heroku master
Counting objects: 206, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (103/103), done.
Writing objects: 100% (206/206), 21.64 KiB, done.
Total 206 (delta 88), reused 202 (delta 88)
-----> Ruby/Rack app detected
-----> Using Ruby version: ruby-1.9.3
-----> Installing dependencies using Bundler version 1.3.0.pre.5
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
Fetching gem metadata from http://rubygems.org/..........
Installing builder (3.1.4)
Installing rack (1.5.2)
Installing rdiscount (2.0.7)
Installing toto (0.4.9)
Using bundler (1.3.0.pre.5)
Your bundle is complete! It was installed into ./vendor/bundle
Cleaning up the bundler cache.
-----> Discovering process types
Procfile declares types -> (none)
Default types for Ruby/Rack -> console, rake, web
-----> Compiled slug size: 11.0MB
-----> Launching... done, v4
http://boiling-chamber-5005.herokuapp.com deployed to Heroku
To git@heroku.com:boiling-chamber-5005.git
* [new branch] master -> master
source 'http://rubygems.org'
ruby "1.9.3"
gem 'rack'
gem 'builder'
gem 'rdiscount'
gem 'toto'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment