2014年2月23日日曜日

Jenkinsのワークスペースパスがおかしい

Jenkinsにて空のジョブを作成して実行すると下記エラーが出るんやけど... 
.@2ってなんですのん? 
 
Started by user hogehoge
Building on master in workspace .@2
java.io.IOException: Failed to mkdirs: .@2
 at hudson.FilePath.mkdirs(FilePath.java:1072)
 at hudson.model.AbstractProject.checkout(AbstractProject.java:1405)
 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557)
 at hudson.model.Run.execute(Run.java:1679)
 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
 at hudson.model.ResourceController.execute(ResourceController.java:88)
 at hudson.model.Executor.run(Executor.java:230)
Finished: FAILURE
 
[Jenkinsの管理] -> [システムの設定] -> [高度な設定]
で設定できたー。
参考

2014年2月17日月曜日

5.3.2

root_pathが定義されていないとのエラー。 他のページはうまくいくんに…。
1) Static pages Home page should have the base title
Failure/Error: visit root_path
NameError:
undefined local variable or method `root_path' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_1:0x007f959def78f8>
# ./spec/requests/static_pages_spec.rb:13:in `block (3 levels) in <top (required)>'
2) Static pages Home page should have the h1 'Sample App'
Failure/Error: visit root_path
NameError:
undefined local variable or method `root_path' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_1:0x007f959e34a8d8>
# ./spec/requests/static_pages_spec.rb:8:in `block (3 levels) in <top (required)>'
3) Static pages Home page should not have a custom page title
Failure/Error: visit root_path
NameError:
undefined local variable or method `root_path' for #<RSpec::Core::ExampleGroup::Nested_1::Nested_1:0x007f959e2b9540>
# ./spec/requests/static_pages_spec.rb:18:in `block (3 levels) in <top (required)>'
Finished in 0.34788 seconds
9 examples, 3 failures
Failed examples:
rspec ./spec/requests/static_pages_spec.rb:12 # Static pages Home page should have the base title
rspec ./spec/requests/static_pages_spec.rb:7 # Static pages Home page should have the h1 'Sample App'
rspec ./spec/requests/static_pages_spec.rb:17 # Static pages Home page should not have a custom page title
view raw 5.3.2error hosted with ❤ by GitHub
guardを再起動したら治ったっぽい?

Rubyのお勉強

Javaばっかりやってきていたので、動的言語が気になり、
Rubyになんとなく目が止まったのでRails使ってWEBサイトちょちょいと
作れるようになりたかったのでお勉強中。

「初めてのRuby」写経し終わり、「パーフェクトRuby」の4章まで進んだところで、
Rails Tutorialの日本語版が出たとのことでそっちに専念してます。

動的言語ってことでIDEの補完機能に頼ってばっかりもいられなくなったので、
タイピング能力高める+エディタの乗り換えのため、

HHKBと「実践Vim」を購入。

実践Vimには編集土台となる文章が公開されているので、
gitのリポジトリ作って編集しやすいようにしといた。

以上