You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Justin Clift (JIRA)" <ji...@apache.org> on 2011/02/23 17:12:38 UTC
[jira] Created: (DTACLOUD-22) deltacloudd seems unhappy with Ruby
1.9.1 on Win7
deltacloudd seems unhappy with Ruby 1.9.1 on Win7
-------------------------------------------------
Key: DTACLOUD-22
URL: https://issues.apache.org/jira/browse/DTACLOUD-22
Project: DeltaCloud
Issue Type: Bug
Environment: Win7 x64 with new installation of Ruby 1.9.1
Reporter: Justin Clift
Assignee: David Lutterkort
C:\Users\user>deltacloudd -i mock
Starting Deltacloud API :: mock :: http://localhost:3001/api
config.ru:21:in `block in <top (required)>': undefined method `dirname' for Rack
::File:Class (NoMethodError)
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:
46:in `instance_eval'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:
46:in `initialize'
from config.ru:1:in `new'
from config.ru:1:in `<top (required)>'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/deltacloud-core-0.1.2/bin/delta
cloudd:75:in `eval'
from C:/Ruby191/lib/ruby/gems/1.9.1/gems/deltacloud-core-0.1.2/bin/delta
cloudd:75:in `<top (required)>'
from C:/Ruby191/bin/deltacloudd:19:in `load'
from C:/Ruby191/bin/deltacloudd:19:in `<main>'
C:\Users\user>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (DTACLOUD-22) deltacloudd seems unhappy with Ruby
1.9.1 on Win7
Posted by "Justin Clift (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DTACLOUD-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998441#comment-12998441 ]
Justin Clift commented on DTACLOUD-22:
--------------------------------------
As a follow up, Ruby 1.9.2 (also from rubyinstaller.org) seems to work fine:
C:\Users\user>deltacloudd -i mock
Starting Deltacloud API :: mock :: http://localhost:3001/api
=> Ctrl-C to shutdown server
[2011-02-24 03:40:18] INFO WEBrick 1.3.1
[2011-02-24 03:40:18] INFO ruby 1.9.2 (2011-02-18) [i386-mingw32]
[2011-02-24 03:40:18] INFO WEBrick::HTTPServer#start: pid=1888 port=3001
Looks like we just need to specify that on Windows, people need to be using Ruby 1.9.2.
> deltacloudd seems unhappy with Ruby 1.9.1 on Win7
> -------------------------------------------------
>
> Key: DTACLOUD-22
> URL: https://issues.apache.org/jira/browse/DTACLOUD-22
> Project: DeltaCloud
> Issue Type: Bug
> Environment: Win7 x64 with new installation of Ruby 1.9.1
> Reporter: Justin Clift
> Assignee: David Lutterkort
> Labels: deltacloudd
>
> C:\Users\user>deltacloudd -i mock
> Starting Deltacloud API :: mock :: http://localhost:3001/api
> config.ru:21:in `block in <top (required)>': undefined method `dirname' for Rack
> ::File:Class (NoMethodError)
> from C:/Ruby191/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:
> 46:in `instance_eval'
> from C:/Ruby191/lib/ruby/gems/1.9.1/gems/rack-1.1.0/lib/rack/builder.rb:
> 46:in `initialize'
> from config.ru:1:in `new'
> from config.ru:1:in `<top (required)>'
> from C:/Ruby191/lib/ruby/gems/1.9.1/gems/deltacloud-core-0.1.2/bin/delta
> cloudd:75:in `eval'
> from C:/Ruby191/lib/ruby/gems/1.9.1/gems/deltacloud-core-0.1.2/bin/delta
> cloudd:75:in `<top (required)>'
> from C:/Ruby191/bin/deltacloudd:19:in `load'
> from C:/Ruby191/bin/deltacloudd:19:in `<main>'
> C:\Users\user>
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira