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
58
Shinosaka.rb #3
murajun1978
May 13, 2014
Tweet
Share
More Decks by murajun1978
See All by murajun1978
変化を楽しむエンジニアリング ~ いままでとこれから ~
murajun1978
0
720
How to Enjoy the Murajun’s Style
murajun1978
0
61
Building Tebukuro with Hotwire and Rails
murajun1978
0
1.3k
Zeitwerk integration in Rails 6.0
murajun1978
0
110
Efficient development with GraphQL
murajun1978
0
310
Effective Debugging Apps in VS Code
murajun1978
1
910
tebukuro
murajun1978
0
120
Shinosaka.rb #17 Hands on
murajun1978
0
54
New Features in Rails 4.2
murajun1978
0
920
Other Decks in Programming
See All in Programming
MCP連携で加速するAI駆動開発/mcp integration accelerates ai-driven-development
bpstudy
0
290
バイブコーディングの正体——AIエージェントはソフトウェア開発を変えるか?
stakaya
5
900
Reactの歴史を振り返る
tutinoko
1
180
STUNMESH-go: Wireguard NAT穿隧工具的源起與介紹
tjjh89017
0
360
Portapad紹介プレゼンテーション
gotoumakakeru
1
130
202507_ADKで始めるエージェント開発の基本 〜デモを通じて紹介〜(奥田りさ)The Basics of Agent Development with ADK — A Demo-Focused Introduction
risatube
PRO
6
1.4k
それ CLI フレームワークがなくてもできるよ / Building CLI Tools Without Frameworks
orgachem
PRO
17
3.8k
Go製CLIツールをnpmで配布するには
syumai
2
1.2k
CLI ツールを Go ライブラリ として再実装する理由 / Why reimplement a CLI tool as a Go library
ktr_0731
3
1.1k
ライブ配信サービスの インフラのジレンマ -マルチクラウドに至ったワケ-
mirrativ
1
180
LLMは麻雀を知らなすぎるから俺が教育してやる
po3rin
3
2.1k
WebAssemblyインタプリタを書く ~Component Modelを添えて~
ruccho
1
790
Featured
See All Featured
Embracing the Ebb and Flow
colly
86
4.8k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
Measuring & Analyzing Core Web Vitals
bluesmoon
8
550
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
Side Projects
sachag
455
43k
What's in a price? How to price your products and services
michaelherold
246
12k
Docker and Python
trallard
45
3.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
183
54k
A designer walks into a library…
pauljervisheath
207
24k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
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Ζʔͥ(ʆɾωɾ´)
Ʊ"-ʓ Ʊ"-ʓƱ"-ʓ Ʊ"-ʓ