Rakefileに加えるべき7行 7 Lines Every Gem’s Rakefile Should Have 必要なgemをrequireしてすぐに使えるようにしましょうと.自分はpryで. task :console do require 'pry' requrey 'my_gem' ARGV.clear Pry.start end OSSだとpry使ってないひともいる可能性があるからirbでやったほうがいいかも.
YARD Rakeタスクへの登録の仕方とパラメータメモ YARDが認知されてきて久しいですが、YARDのRakeタスクへの登録の仕方と諸々のYARD関連のメモをしておきます yardを使用する場合はGemfileのdevelopmentグループに以下を追加します group :development do gem 'yard', require: false end Railsアプリケーションの場合 lib/tasks/以下にyardoc.taskという名前でファイルを作成して以下のように記述してください require 'yard' require 'yard/rake/yardoc_task' YARD::Rake::YardocTask.new do |t| t.files = ['app/controllers/**/*.rb','app/helpers/**/*.rb', 'a
jokami.mydns.jp is not accessible... Sorry. I do not know why this site is not working. If you know Administrator of this site, please contact directly. You may be able to see it in Google cache. For administrator ... MyDNS.JP did not received IP address from you over One week. Please check your notify system. If you restart notification of IP address, MyDNS.JP will apply your IP address to DNS in
RSpecとHudson(現Jenkins)との連携についてRSpec and ci_reporterという簡潔にまとまった記事がありました。 ところが私の環境ではRSpecが古いためか、そのままではダメでした。動いたコードを載せておきます。 Rakefile [ruby]require ‘spec/rake/spectask’ require ‘ci/reporter/rake/rspec’ Spec::Rake::SpecTask.new(:all => ["ci:setup:rspec"]) do |t| t.spec_files = FileList['spec/*_spec.rb'] end Spec::Rake::SpecTask.new(‘default’) do |t| t.spec_files = FileList['spec/*_spec.rb'] t.spe
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く