using ruby2.0 on heroku

Post on 15-Jan-2015

1.490 Views

Category:

Documents

3 Downloads

Preview:

Click to see full reader

DESCRIPTION

You can try ruby2.0 using Heroku right now!

TRANSCRIPT

Ayumu AizawaHeroku., Inc.

Using Ruby2.0 on Heroku

Ayumu AIZAWA@ayumin

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

top related