Ronelle Landy created DTACLOUD-547: -------------------------------------- Summary: Starting Deltacloud with webrick fails when using a gem install Key: DTACLOUD-547 URL: https://issues.apache.org/jira/browse/DTACLOUD-547 Project: DeltaCloud Issue Type: Bug Components: Server Environment: deltacloud core gem 1.1.3 - under test webrick (rather than thin) Reporter: Ronelle Landy
Logging this for tracking into the gem release time frame .... to be fixed later Starting deltacloud server with webrick fails - unless I am in the gem directory (rare for a gem install user) - If I am in the gem directory - it works ... [root@cloud-qe-4 deltacloud-core-1.1.3]# deltacloudd -i mock -f cimi -w Starting Deltacloud API :: mock :: http://localhost:3001/cimi/cloudEntryPoint => Ctrl-C to shutdown server [2013-04-15 09:42:01] INFO WEBrick 1.3.1 [2013-04-15 09:42:01] INFO ruby 1.9.3 (2013-02-22) [x86_64-linux] [2013-04-15 09:42:01] INFO WEBrick::HTTPServer#start: pid=9131 port=3001 ^C[2013-04-15 09:42:15] INFO going to shutdown ... [2013-04-15 09:42:15] INFO WEBrick::HTTPServer#start done. [root@cloud-qe-4 deltacloud-core-1.1.3]# pwd /usr/local/share/gems/gems/deltacloud-core-1.1.3 As soon as I cd out of there, it fails .... [root@cloud-qe-4 deltacloud-core-1.1.3]# cd / [root@cloud-qe-4 /]# deltacloudd -i mock -f cimi -w Starting Deltacloud API :: mock :: http://localhost:3001/cimi/cloudEntryPoint config.ru:17:in `load': cannot load such file -- ./lib/initialize.rb (LoadError) from config.ru:17:in `block in <top (required)>' from /usr/local/share/gems/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval' from /usr/local/share/gems/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize' from config.ru:1:in `new' from config.ru:1:in `<top (required)>' from /usr/local/share/gems/gems/deltacloud-core-1.1.3/bin/deltacloudd:197:in `eval' from /usr/local/share/gems/gems/deltacloud-core-1.1.3/bin/deltacloudd:197:in `<top (required)>' from /usr/local/bin/deltacloudd:23:in `load' from /usr/local/bin/deltacloudd:23:in `<main>' -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira