Re: Help view the /api/docs

2012-08-28 Thread Leander Bessa Beernaert
Thanks, that did it! On Tue, Aug 28, 2012 at 11:53 AM, Michal Fojtik wrote: > On Aug 28, 2012, at 12:50 PM, Leander Bessa Beernaert > wrote: > > > If i uninstall rake, i'm left without any rake command. I reinstalled it > > and the error still remains :/ > > Hmm weird. You can also try to use '

Re: Help view the /api/docs

2012-08-28 Thread Michal Fojtik
On Aug 28, 2012, at 12:50 PM, Leander Bessa Beernaert wrote: > If i uninstall rake, i'm left without any rake command. I reinstalled it > and the error still remains :/ Hmm weird. You can also try to use 'bundler': $ cd server/ $ bundle $ bundle exec rake routes That should tell Ruby to expli

Re: Help view the /api/docs

2012-08-28 Thread Leander Bessa Beernaert
If i uninstall rake, i'm left without any rake command. I reinstalled it and the error still remains :/ On Tue, Aug 28, 2012 at 11:46 AM, Michal Fojtik wrote: > On Aug 28, 2012, at 12:26 PM, Leander Bessa Beernaert > wrote: > > Hi, > > I saw this backtrace before, when I had installed two 'rake

Re: Help view the /api/docs

2012-08-28 Thread Michal Fojtik
On Aug 28, 2012, at 12:26 PM, Leander Bessa Beernaert wrote: Hi, I saw this backtrace before, when I had installed two 'rake' gems in parallel. You can try to remove 'rake' gem (that gem should be bundled in Ruby): $ gem uninstall rake And see what happen. -- Michal > Full trace: > /usr/

Re: Help view the /api/docs

2012-08-28 Thread Leander Bessa Beernaert
Full trace: /usr/lib/ruby/1.9.1/rake/version.rb:2: warning: already initialized constant VERSION /usr/lib/ruby/1.9.1/rake/version.rb:5: warning: already initialized constant MAJOR /usr/lib/ruby/1.9.1/rake/version.rb:5: warning: already initialized constant MINOR /usr/lib/ruby/1.9.1/rake/version.rb:

Re: Help view the /api/docs

2012-08-28 Thread mar...@redhat.com
On 08/27/2012 07:35 PM, Leander Bessa Beernaert wrote: > @Mario i tried rake routes and this it what happend > hmm strange -can you try again with "--trace" so I can see if there's something useful in the output? In the meantime, this is what you should be getting: [marios@name server]$ rake rou

Re: Help view the /api/docs

2012-08-27 Thread Leander Bessa Beernaert
@Michal, never mind found it! On Mon, Aug 27, 2012 at 5:35 PM, Leander Bessa Beernaert < leande...@gmail.com> wrote: > @Mario i tried rake routes and this it what happend > > /usr/lib/ruby/1.9.1/rake/version.rb:2: warning: already initialized > constant VERSION > /usr/lib/ruby/1.9.1/rake/version.

Re: Help view the /api/docs

2012-08-27 Thread Leander Bessa Beernaert
@Mario i tried rake routes and this it what happend /usr/lib/ruby/1.9.1/rake/version.rb:2: warning: already initialized constant VERSION /usr/lib/ruby/1.9.1/rake/version.rb:5: warning: already initialized constant MAJOR /usr/lib/ruby/1.9.1/rake/version.rb:5: warning: already initialized constant M

Re: Help view the /api/docs

2012-08-27 Thread Michal Fojtik
On Aug 27, 2012, at 6:21 PM, Leander Bessa Beernaert wrote: > Hello, > > I am would like to have a complete listing of all the rest api invocations > possible with deltacloud. According to the documentation that listing > should be available at localhost:3001/api/docs/. However, i'm presented

Re: Help view the /api/docs

2012-08-27 Thread mar...@redhat.com
On 08/27/2012 07:21 PM, Leander Bessa Beernaert wrote: > Hello, > > I am would like to have a complete listing of all the rest api invocations > possible with deltacloud. According to the documentation that listing > should be available at localhost:3001/api/docs/. However, i'm presented > with a

Help view the /api/docs

2012-08-27 Thread Leander Bessa Beernaert
Hello, I am would like to have a complete listing of all the rest api invocations possible with deltacloud. According to the documentation that listing should be available at localhost:3001/api/docs/. However, i'm presented with a page which says: "Sinatra doesn't know this ditty" and this appears