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
870
tebukuro
murajun1978
0
110
Shinosaka.rb #17 Hands on
murajun1978
0
43
New Features in Rails 4.2
murajun1978
0
900
shinosakarb #11 Rails 4 Pattenrs
murajun1978
1
120
FactoryGirl LT
murajun1978
1
66
Other Decks in Programming
See All in Programming
フロントエンドのディレクトリ構成どうしてる? Feature-Sliced Design 導入体験談
osakatechlab
8
4.1k
Exploring: Partial and Independent Composables
blackbracken
0
100
useSyncExternalStoreを使いまくる
ssssota
6
1.1k
ある日突然あなたが管理しているサーバーにDDoSが来たらどうなるでしょう?知ってるようで何も知らなかったDDoS攻撃と対策 #phpcon.2024
akase244
0
120
PHPで学ぶプログラミングの教訓 / Lessons in Programming Learned through PHP
nrslib
3
280
命名をリントする
chiroruxx
1
410
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.5k
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
110
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
6
1.2k
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
2
390
Scalaから始めるOpenFeature入門 / Scalaわいわい勉強会 #4
arthur1
1
330
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
170
Featured
See All Featured
Scaling GitHub
holman
458
140k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Bash Introduction
62gerente
608
210k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Building Applications with DynamoDB
mza
91
6.1k
Building an army of robots
kneath
302
44k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Git: the NoSQL Database
bkeepers
PRO
427
64k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Optimising Largest Contentful Paint
csswizardry
33
3k
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Ζʔͥ(ʆɾωɾ´)
Ʊ"-ʓ Ʊ"-ʓƱ"-ʓ Ʊ"-ʓ