Using Ruby2.0 on Heroku
-
Author
ayumu-aizawa -
Category
Documents
-
view
1.487 -
download
3
Embed Size (px)
description
Transcript of Using Ruby2.0 on Heroku

Ayumu AizawaHeroku., Inc.
Using Ruby2.0 on Heroku

Ayumu [email protected]
Heroku Evangelist/Developer AdvocateHroku., Inc.
Ruby committer (since 2011)

<Ad>

We - Heroku will be hold
developer’s eventin 28th Feb 2013


Waza “技”Art & Technique in Japanesehttp://blog.heroku.com/archives/2012/11/6/waza-2013/

You can find recorded videos onhttp://vimeo.com/groups/waza2012

waza.heoku.com

</Ad>

using Ruby2.0 on Heroku

Are you using Ruby2.0 already?

I think almost peopleare not trying Ruby2.0 soon,
because it might be dangerous

Heroku has flexible runtime
configuration system

You can use any languageson 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 Gemfilesource :rubygemsruby "2.0.0"$ bundle install$ git init$ heroku create$ git add .$ git commit -m ‘ruby-2.0.0’$ git push heroku master

$ cat Gemfilesource :rubygemsruby "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.0on Heroku right now
You shoud come to Waza in Feb

Thanks