SlideShare une entreprise Scribd logo
1  sur  25
Télécharger pour lire hors ligne
Using Ruby2.0 on Heroku


        Ayumu Aizawa
         Heroku., Inc.
Ayumu AIZAWA
       @ayumin
Heroku Evangelist/Developer Advocate
        Hroku., Inc.
  Ruby committer (since 2011)
<Ad>
We - Heroku will be hold
   developer’s event
   in 28th Feb 2013
Waza         “技”
Art & Technique in Japanese
http://blog.heroku.com/archives/2012/11/6/waza-2013/
You can find recorded videos on
 http://vimeo.com/groups/waza2012
waza.heoku.com
</Ad>
using Ruby2.0 on Heroku
Are you using Ruby2.0 already?
I think almost people
 are not trying Ruby2.0 soon,

because it might be dangerous
Heroku has flexible runtime
   configuration system
You can use any languages
             on Heroku


$ heroku create --buildpack <BUILDPACK_URL>

 https://devcenter.heroku.com/articles/buildpacks
So you can use Ruby2.0 on
Heroku with your own buildpack
or
with bundler


ruby “2.0.0”
Heroku already provided
     sandbox for evaluate Ruby2.0
http://blog.heroku.com/archives/2012/11/5/ruby-2-preview-on-heroku/
Demo
You can use Ruby2.0 on Heroku now


$ vim Gemfile
$ cat Gemfile
source :rubygems
ruby "2.0.0"
$ bundle install
$ git init
$ heroku create
$ git add .
$ git commit -m ‘ruby-2.0.0’
$ git push heroku master
$ cat Gemfile
source :rubygems
ruby "2.0.0"
gem "rack"
$ cat Gemfile.lock
GEM
  remote: http://rubygems.org/
  specs:
    rack (1.4.1)

PLATFORMS
  ruby

DEPENDENCIES
  rack
Terence Lee+++++
Conclusion
You should use Ruby2.0
   on Heroku right now



You shoud come to   Waza in Feb
Thanks

Contenu connexe

En vedette

PaaSに適したアプリケーション設計 がもたらすメリット
PaaSに適したアプリケーション設計がもたらすメリットPaaSに適したアプリケーション設計がもたらすメリット
PaaSに適したアプリケーション設計 がもたらすメリット
Ayumu Aizawa
 
Building Changes.KW.12.29.15
Building Changes.KW.12.29.15Building Changes.KW.12.29.15
Building Changes.KW.12.29.15
Kristen West
 
Diez consejos para los exámenes
Diez consejos para los exámenesDiez consejos para los exámenes
Diez consejos para los exámenes
JulioDelaBc
 
El sistema de bibliotecas del instituto cervantes una propuesta
El sistema de bibliotecas del instituto cervantes una propuestaEl sistema de bibliotecas del instituto cervantes una propuesta
El sistema de bibliotecas del instituto cervantes una propuesta
Alba Teresita Montoya Avendaño
 
Dialeb Review_Issue 1_Nov 2012 2
Dialeb Review_Issue 1_Nov 2012 2Dialeb Review_Issue 1_Nov 2012 2
Dialeb Review_Issue 1_Nov 2012 2
Sylvie Maalouf Issa
 
独自ドメイン取得
独自ドメイン取得独自ドメイン取得
独自ドメイン取得
さい ぞう
 

En vedette (20)

Ruby コミュニティの文化に学ぶエンタープライズシステム開発の処方箋
Ruby コミュニティの文化に学ぶエンタープライズシステム開発の処方箋Ruby コミュニティの文化に学ぶエンタープライズシステム開発の処方箋
Ruby コミュニティの文化に学ぶエンタープライズシステム開発の処方箋
 
PaaSに適したアプリケーション設計 がもたらすメリット
PaaSに適したアプリケーション設計がもたらすメリットPaaSに適したアプリケーション設計がもたらすメリット
PaaSに適したアプリケーション設計 がもたらすメリット
 
Heroku Inside
Heroku InsideHeroku Inside
Heroku Inside
 
Ameblo
AmebloAmeblo
Ameblo
 
Lautaro
LautaroLautaro
Lautaro
 
Building Changes.KW.12.29.15
Building Changes.KW.12.29.15Building Changes.KW.12.29.15
Building Changes.KW.12.29.15
 
ENS1 seguridad web
ENS1 seguridad webENS1 seguridad web
ENS1 seguridad web
 
Diez consejos para los exámenes
Diez consejos para los exámenesDiez consejos para los exámenes
Diez consejos para los exámenes
 
Cyberry music howto-cyberry point
Cyberry music howto-cyberry pointCyberry music howto-cyberry point
Cyberry music howto-cyberry point
 
Drogadiccion
DrogadiccionDrogadiccion
Drogadiccion
 
Lorenzo y Pepita, 13 junio 1956 Novaro
Lorenzo y Pepita, 13 junio 1956 NovaroLorenzo y Pepita, 13 junio 1956 Novaro
Lorenzo y Pepita, 13 junio 1956 Novaro
 
Co education
Co educationCo education
Co education
 
El sistema de bibliotecas del instituto cervantes una propuesta
El sistema de bibliotecas del instituto cervantes una propuestaEl sistema de bibliotecas del instituto cervantes una propuesta
El sistema de bibliotecas del instituto cervantes una propuesta
 
Medical informatics - Linking diseases, drugs, and adverse reactions
Medical informatics - Linking diseases, drugs, and adverse reactionsMedical informatics - Linking diseases, drugs, and adverse reactions
Medical informatics - Linking diseases, drugs, and adverse reactions
 
Excel 2010
Excel 2010Excel 2010
Excel 2010
 
Amilcarj johnsontedu511week6and7assignment
Amilcarj johnsontedu511week6and7assignmentAmilcarj johnsontedu511week6and7assignment
Amilcarj johnsontedu511week6and7assignment
 
Body parts
Body partsBody parts
Body parts
 
Dialeb Review_Issue 1_Nov 2012 2
Dialeb Review_Issue 1_Nov 2012 2Dialeb Review_Issue 1_Nov 2012 2
Dialeb Review_Issue 1_Nov 2012 2
 
独自ドメイン取得
独自ドメイン取得独自ドメイン取得
独自ドメイン取得
 
De pigmeo a gigante
De pigmeo a giganteDe pigmeo a gigante
De pigmeo a gigante
 

Similaire à Using Ruby2.0 on Heroku

使用Eclipse快樂的mruby開發
使用Eclipse快樂的mruby開發使用Eclipse快樂的mruby開發
使用Eclipse快樂的mruby開發
yamanekko
 
Gr8conf - The Groovy Ecosystem Revisited
Gr8conf - The Groovy Ecosystem RevisitedGr8conf - The Groovy Ecosystem Revisited
Gr8conf - The Groovy Ecosystem Revisited
Andres Almiray
 

Similaire à Using Ruby2.0 on Heroku (20)

Aug penguin16
Aug penguin16Aug penguin16
Aug penguin16
 
使用Eclipse快樂的mruby開發
使用Eclipse快樂的mruby開發使用Eclipse快樂的mruby開發
使用Eclipse快樂的mruby開發
 
Oscad1 rev
Oscad1 revOscad1 rev
Oscad1 rev
 
Learn docker in 90 minutes
Learn docker in 90 minutesLearn docker in 90 minutes
Learn docker in 90 minutes
 
Kotlin Basics & Introduction to Jetpack Compose.pptx
Kotlin Basics & Introduction to Jetpack Compose.pptxKotlin Basics & Introduction to Jetpack Compose.pptx
Kotlin Basics & Introduction to Jetpack Compose.pptx
 
Why Users Are Moving on from Docker and Leaving Its Security Risks Behind (Sp...
Why Users Are Moving on from Docker and Leaving Its Security Risks Behind (Sp...Why Users Are Moving on from Docker and Leaving Its Security Risks Behind (Sp...
Why Users Are Moving on from Docker and Leaving Its Security Risks Behind (Sp...
 
The Groovy Ecosystem Revisited
The Groovy Ecosystem RevisitedThe Groovy Ecosystem Revisited
The Groovy Ecosystem Revisited
 
Gr8conf - The Groovy Ecosystem Revisited
Gr8conf - The Groovy Ecosystem RevisitedGr8conf - The Groovy Ecosystem Revisited
Gr8conf - The Groovy Ecosystem Revisited
 
PuppetConf 2016: Running Puppet Software in Docker Containers – Gareth Rushgr...
PuppetConf 2016: Running Puppet Software in Docker Containers – Gareth Rushgr...PuppetConf 2016: Running Puppet Software in Docker Containers – Gareth Rushgr...
PuppetConf 2016: Running Puppet Software in Docker Containers – Gareth Rushgr...
 
Cloud expo-east-2015
Cloud expo-east-2015Cloud expo-east-2015
Cloud expo-east-2015
 
Introduction to Docker
Introduction to DockerIntroduction to Docker
Introduction to Docker
 
The Future of Bundled Bundler
The Future of Bundled BundlerThe Future of Bundled Bundler
The Future of Bundled Bundler
 
Docker workshop
Docker workshopDocker workshop
Docker workshop
 
Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...
Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...
Building a private CI/CD pipeline with Java and Docker in the Cloud as presen...
 
2014-08-19 Multiple Approaches to Managing Puppet Modules @ Puppet Camp Chicago
2014-08-19 Multiple Approaches to Managing Puppet Modules @ Puppet Camp Chicago2014-08-19 Multiple Approaches to Managing Puppet Modules @ Puppet Camp Chicago
2014-08-19 Multiple Approaches to Managing Puppet Modules @ Puppet Camp Chicago
 
Deploy Node.js application in Heroku using Eclipse
Deploy Node.js application in Heroku using EclipseDeploy Node.js application in Heroku using Eclipse
Deploy Node.js application in Heroku using Eclipse
 
Workshop: Know Before You Push 'Go': Using the Beaker Acceptance Test Framewo...
Workshop: Know Before You Push 'Go': Using the Beaker Acceptance Test Framewo...Workshop: Know Before You Push 'Go': Using the Beaker Acceptance Test Framewo...
Workshop: Know Before You Push 'Go': Using the Beaker Acceptance Test Framewo...
 
Docker & Elixir @kloeckner.i
Docker & Elixir @kloeckner.iDocker & Elixir @kloeckner.i
Docker & Elixir @kloeckner.i
 
Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies
Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies
Podman, Buildah, and Quarkus - The Latest in Linux Containers Technologies
 
9thMeetup-20190316-CI/CD 기반의 Microservice 배포
9thMeetup-20190316-CI/CD 기반의 Microservice 배포9thMeetup-20190316-CI/CD 기반의 Microservice 배포
9thMeetup-20190316-CI/CD 기반의 Microservice 배포
 

Plus de Ayumu Aizawa

Heroku - Forget Servers!!
Heroku - Forget Servers!!Heroku - Forget Servers!!
Heroku - Forget Servers!!
Ayumu Aizawa
 
Heroku Getting Started
Heroku Getting StartedHeroku Getting Started
Heroku Getting Started
Ayumu Aizawa
 
カスタムアプリケーションプラットフォーム Salesforce Heroku ~ ソーシャルアプリケーションを支える技術 ~
カスタムアプリケーションプラットフォーム Salesforce Heroku~ ソーシャルアプリケーションを支える技術 ~カスタムアプリケーションプラットフォーム Salesforce Heroku~ ソーシャルアプリケーションを支える技術 ~
カスタムアプリケーションプラットフォーム Salesforce Heroku ~ ソーシャルアプリケーションを支える技術 ~
Ayumu Aizawa
 
(Ruby + Agile) x Cloud = Like!
(Ruby + Agile) x Cloud = Like!(Ruby + Agile) x Cloud = Like!
(Ruby + Agile) x Cloud = Like!
Ayumu Aizawa
 
Herokuのご紹介
Herokuのご紹介Herokuのご紹介
Herokuのご紹介
Ayumu Aizawa
 
SIerのなかのRubyistが書くべき成果物の具体例
SIerのなかのRubyistが書くべき成果物の具体例SIerのなかのRubyistが書くべき成果物の具体例
SIerのなかのRubyistが書くべき成果物の具体例
Ayumu Aizawa
 
Issues of Rubyists
Issues of RubyistsIssues of Rubyists
Issues of Rubyists
Ayumu Aizawa
 
もしRubyistがドラッガーの『マネジメント』を読んだら
もしRubyistがドラッガーの『マネジメント』を読んだらもしRubyistがドラッガーの『マネジメント』を読んだら
もしRubyistがドラッガーの『マネジメント』を読んだら
Ayumu Aizawa
 

Plus de Ayumu Aizawa (20)

Introducing Fn Project
Introducing Fn ProjectIntroducing Fn Project
Introducing Fn Project
 
Heroku HTTP API Design Guide
Heroku HTTP API Design GuideHeroku HTTP API Design Guide
Heroku HTTP API Design Guide
 
Heroku
HerokuHeroku
Heroku
 
Connected Products
Connected ProductsConnected Products
Connected Products
 
Heroku Update
Heroku UpdateHeroku Update
Heroku Update
 
Heroku - Forget Servers!!
Heroku - Forget Servers!!Heroku - Forget Servers!!
Heroku - Forget Servers!!
 
Heroku Getting Started
Heroku Getting StartedHeroku Getting Started
Heroku Getting Started
 
Heroku Postgres
Heroku PostgresHeroku Postgres
Heroku Postgres
 
Enterprise Heroku for Java
Enterprise Heroku for JavaEnterprise Heroku for Java
Enterprise Heroku for Java
 
Heroku
Heroku Heroku
Heroku
 
カスタムアプリケーションプラットフォーム Salesforce Heroku ~ ソーシャルアプリケーションを支える技術 ~
カスタムアプリケーションプラットフォーム Salesforce Heroku~ ソーシャルアプリケーションを支える技術 ~カスタムアプリケーションプラットフォーム Salesforce Heroku~ ソーシャルアプリケーションを支える技術 ~
カスタムアプリケーションプラットフォーム Salesforce Heroku ~ ソーシャルアプリケーションを支える技術 ~
 
Herokuのご紹介
Herokuのご紹介Herokuのご紹介
Herokuのご紹介
 
(Ruby + Agile) x Cloud = Like!
(Ruby + Agile) x Cloud = Like!(Ruby + Agile) x Cloud = Like!
(Ruby + Agile) x Cloud = Like!
 
Heroku Introduction
Heroku IntroductionHeroku Introduction
Heroku Introduction
 
Herokuのご紹介
Herokuのご紹介Herokuのご紹介
Herokuのご紹介
 
Building scalablewebapps
Building scalablewebappsBuilding scalablewebapps
Building scalablewebapps
 
Heroku in Japan
Heroku in JapanHeroku in Japan
Heroku in Japan
 
SIerのなかのRubyistが書くべき成果物の具体例
SIerのなかのRubyistが書くべき成果物の具体例SIerのなかのRubyistが書くべき成果物の具体例
SIerのなかのRubyistが書くべき成果物の具体例
 
Issues of Rubyists
Issues of RubyistsIssues of Rubyists
Issues of Rubyists
 
もしRubyistがドラッガーの『マネジメント』を読んだら
もしRubyistがドラッガーの『マネジメント』を読んだらもしRubyistがドラッガーの『マネジメント』を読んだら
もしRubyistがドラッガーの『マネジメント』を読んだら
 

Using Ruby2.0 on Heroku