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
54
Shinosaka.rb #3
murajun1978
May 13, 2014
Tweet
Share
More Decks by murajun1978
See All by murajun1978
How to Enjoy the Murajun’s Style
murajun1978
0
49
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
300
Effective Debugging Apps in VS Code
murajun1978
1
900
tebukuro
murajun1978
0
120
Shinosaka.rb #17 Hands on
murajun1978
0
50
New Features in Rails 4.2
murajun1978
0
920
shinosakarb #11 Rails 4 Pattenrs
murajun1978
1
140
Other Decks in Programming
See All in Programming
Passkeys for Java Developers
ynojima
1
200
ユーザーにサブドメインの ECサイトを提供したい (あるいは) 2026年函館で一番熱くなるかもしれない言語の話
uvb_76
0
180
AI Coding Agent Enablement in TypeScript
yukukotani
17
7.2k
TypeScript LSP の今までとこれから
quramy
0
110
primeNumberでのRBS導入の現在 && RBS::Traceでinline RBSを拡充してみた
mnmandahalf
0
260
コンポーネントライブラリで実現する、アクセシビリティの正しい実装パターン
schktjm
1
670
AIエージェントによるテストフレームワーク Arbigent
takahirom
0
280
TypeScript だけを書いて Tauri でデスクトップアプリを作ろう / Tauri with only TypeScript
tris5572
2
540
Parallel::Pipesの紹介
skaji
2
870
Doma で目指す ORM 最適解
nakamura_to
1
160
技術的負債と戦略的に戦わざるを得ない場合のオブザーバビリティ活用術 / Leveraging Observability When Strategically Dealing with Technical Debt
yoshiyoshifujii
0
160
Feature Flag 自動お掃除のための TypeScript プログラム変換
azrsh
PRO
4
630
Featured
See All Featured
Faster Mobile Websites
deanohume
307
31k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Agile that works and the tools we love
rasmusluckow
329
21k
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Gamification - CAS2011
davidbonilla
81
5.3k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Scaling GitHub
holman
459
140k
A better future with KSS
kneath
239
17k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.8k
Designing for Performance
lara
608
69k
4 Signs Your Business is Dying
shpigford
183
22k
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Ζʔͥ(ʆɾωɾ´)
Ʊ"-ʓ Ʊ"-ʓƱ"-ʓ Ʊ"-ʓ