Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Shinosaka.rb #3
Search
murajun1978
May 13, 2014
Programming
0
51
Shinosaka.rb #3
murajun1978
May 13, 2014
Tweet
Share
More Decks by murajun1978
See All by murajun1978
Building Tebukuro with Hotwire and Rails
murajun1978
0
1.1k
Zeitwerk integration in Rails 6.0
murajun1978
0
100
Efficient development with GraphQL
murajun1978
0
280
Effective Debugging Apps in VS Code
murajun1978
1
860
tebukuro
murajun1978
0
110
Shinosaka.rb #17 Hands on
murajun1978
0
43
New Features in Rails 4.2
murajun1978
0
890
shinosakarb #11 Rails 4 Pattenrs
murajun1978
1
110
FactoryGirl LT
murajun1978
1
66
Other Decks in Programming
See All in Programming
Amazon Qを使ってIaCを触ろう!
maruto
0
370
開発効率向上のためのリファクタリングの一歩目の選択肢 ~コード分割~ / JJUG CCC 2024 Fall
ryounasso
0
420
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
1.5k
Modern Angular: Renovation for Your Applications
manfredsteyer
PRO
0
240
Webの技術スタックで マルチプラットフォームアプリ開発を可能にするElixirDesktopの紹介
thehaigo
2
1k
Realtime API 入門
riofujimon
0
140
ヤプリ新卒SREの オンボーディング
masaki12
0
110
Quine, Polyglot, 良いコード
qnighy
4
610
CPython 인터프리터 구조 파헤치기 - PyCon Korea 24
kennethanceyer
0
250
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
200
Macとオーディオ再生 2024/11/02
yusukeito
0
320
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
500
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.2k
Building Your Own Lightsaber
phodgson
102
6.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Designing Experiences People Love
moore
138
23k
A Philosophy of Restraint
colly
203
16k
The Invisible Side of Design
smashingmag
297
50k
Scaling GitHub
holman
458
140k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
The Art of Programming - Codeland 2020
erikaheidi
52
13k
Side Projects
sachag
452
42k
Transcript
Shinosaka.rb #3
RubyGems ύοέʔδཧγεςϜ
gem install … ͍ͭͷ͜Ε
https://github.com/rails/rails
gemͬͯ࡞Δͷ͍͠ʁ
࡞ͬͯΈΑ͏ϔ(^o^)ϊ
http://bundler.io/ https://www.ruby-lang.org http://git-scm.com/
% bundle gem ΩϥΩϥωʔϜˑϛ ͻͳܗ࡞
gemspecͷฤू name: ΩϥΩϥωʔϜˑϛ authors: [“murajun1978”, “murajun”](ྻͰෳࢦఆՄ) email: [“
[email protected]
”](ྻͰෳࢦఆՄ) summary: gemύοέʔδͷઆ໌ͷཁ(gem
list -d Ͱදࣔ͞ΕΔ) description: gemύοέʔδͷৄࡉઆ໌(RubyGemsʹදࣔ͞ΕΔ) homepage: gemύοέʔδͷؔ࿈αΠτ(GitHub PagesͳͲ) license: gemύοέʔδͷϥΠηϯε required_ruby_version: gemύοέʔδʹඞཁͳRubyόʔδϣϯ post_install_message: gemΠϯετʔϧޙʹදࣔ͢Δϝοηʔδ http://guides.rubygems.org/
% bundle gem ΩϥΩϥωʔϜˑϛ -t % mkdir spec % vim
spec/spec_helper.rb $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require ΩϥΩϥωʔϜˑϛ spec_helper.rb ςετڥ( Ŗ`дŖ´)ŝžŕ or
% rake build ͼΔͲ
% gem install pkg/ΩϥΩϥωʔϜˑϛ ͍Μ͢ͱʔΔ
% rake install ͼΔͲ & ͍Μ͢ͱʔΔ
ͬͯΈΑ͏ϔ(^o^)ϊ
GemͷΓΓʔ͢४උ RubyGemsͷΞΧϯτ࡞ API KEYͷొ % curl -u [account_name] https://rubygems.org/api/v1/api_key.yaml >
\ ~/.gem/credentials % chmod 0600 ~/.gem/credentials
% rake release GemͷΓΓʔ͢
ٳܜ͠Αʔͥ(ʆɾωɾ´)
LTΖʔͥ(ʆɾωɾ´)
Ʊ"-ʓ Ʊ"-ʓƱ"-ʓ Ʊ"-ʓ