.. with the latest version of Fedora, I was not able to install rubygems ... so I downloaded and installed vs 1.3.2 (dont know why, probably a stale post I read)... after managing to install Gem I ran the following (http://rubygems.org/pages/download):
gem update --system
...which worked ok... so where were we???
Following the vmc Getting Started instructions in YouTube (http://www.youtube.com/watch?v=dqr8xWQlRcM)
ruby -v (check)
gem -v (I had 1.8.3 with some deprecated components)
sudo gem update --system (already done as above)
sudo gem install vmc (!!!)
Connect to api.cloudfoundry.com
vmc target api.cloudfoundry.com (will receive ok)
Now login to cloudfoundry
vmc login (using the temp password)
vmc passwd (to reset the password)
Write a small ruby application
require 'sinatra'get '/' do"Hello from Cloud Foundry - sedatiko's account"end
Go into the directory you have the code and run...
picked hello as the application name, it detected that this was a Sinatra application!
Memory reservation: 64M (just a test)
got the following error:
Creating Application: Error 702: External URIs are not enabled for this account
I believe this was due to the fact that "hello.cloudfoundry.com" was "taken"... tried again with sedatiko and...
Creating Application: OK
Would you like to bind any services to 'sedatiko'? [yN]:
Would you like to bind any services to 'sedatiko'? [yN]:Uploading Application:Checking for available resources: OKPacking application: OKUploading (0K): OKPush Status: OKStaging Application: OKStarting Application: OK[sedatiko@fedora ruby]$
Go to http://sedatiko.cloudfoundry.com/ and voila