Ruby Gems errors - MacOSX

Today, I started installing tools/utils required for Ruby on Rails. I found a very informative step by step instructions on HiveLogic blog, thanks Dan for posting it.
Entire build/installation process was smooth except a few errors related to ruby-gems.

ERROR: While executing gem ... (NoMethodError) undefined method `refresh' for #<Hash:0x1011570>

Console output:-

$ sudo gem install rails --include-dependencies
ERROR:  While executing gem ... (NoMethodError)
undefined method `refresh' for #<Hash:0x1011570>

Fix:

  • Remove /usr/local/lib/ruby/gems/1.8/source_cache and ~/.gems directories.
  • Run the command (sudo gem install rails --include-dependencies) again.

ERROR: While executing gem ... (Gem::GemNotFoundException) Could not find rails (> 0) in any repository

Console output:-

$ sudo gem install rails --include-dependencies
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR:  While executing gem ... (Gem::GemNotFoundException)
Could not find rails (> 0) in any repository

Fix:

Update gem and its dependencies, it seems while setting up gems (as instructed in tutorial), setup script is not taking care of it. Run the following command and install all dependencies.

$ sudo gem update

Once gems and it's dependencies are updated/installed, run the command (sudo gem install rails --include-dependencies) again.
I am posting this, even when its posted here and there on different blogs/mailing-lists, because I had to spend sometime to figure it out. Hope it helps.

Technorati tags: , , ,

Aviary tools: Adobe Flex/AIR based Rich Internet Applications (RIA)

I got to know about Aviary through a colleague. I looked at their site and realized, they have some amazing tools (Flex/AIR based), which are editors/generators for image, vector, 3d, video, audio etc. As mentioned, these tools are web-based (flex) and desktop-client (air).

I am yet to look at their tools which are accessible only on invitation. I hope, I would get an invite soon. Why don't you check it out too?

This is one more example to show why entire flash/flex ecosystem is so cool.

Technorati tags: , , , , adobe, createonthefly

WWW helped an old-schoolmate find me

An old schoolmate found me via Technorati, Google and Flickr. Thanks WWW for indexing/syndicating/storing all relevant (and irrelevant) data (blog posts, feeds, photographs, comments, mailing-list archives etc) about me.

I kept wondering how my friend got my primary email-id? it's not trivial but determined-person can know it. I am lately very concerned about privacy.

Technorati tags: , , , , ,

VIM: ActionScript and MXML syntax files

I am sharing VIM syntax files for ActionScript and MXML, which  I was about to share last-year, I got lazy after Manish's post. I hope, these syntax files would provide more (if not better) syntax-highlighting :-)

Click following links to download/see:-

Yahoo! Open Hack Day - Update

Yahoo! Open Hack Day has started with sessions from Joe Arnold (of Yahoo!), Christian Heilmann (of Yahoo! on Yahoo API and YUI) and Raghu (of Adobe on Flex and Mashup examples). More than hundred hackers have turned up, I am sure there would be more developers coming in, as time passes.

Technorati tags: ,

Adobe acquires Buzzword

Adobe has acquired Buzzword, the word-processor application built using Adobe Flex, by Virtual Ubiquity. It reminds me of Arul's prediction, how some products are good candidates for acquisition by Adobe.

This is really motivating for flex developers. If you can build something cool and useful, Adobe might think of buying it.

Technorati Tags: , ,

Adobe Flex 3 beta-2, AIR beta-2 and Media Player prerelease version are available on Labs

Adobe has just released new prerelease builds of Adobe Flex 3, AIR and Media Player (AMP) on labs.adobe.com. I downloaded Adobe Media Player and checking it out, it looks good.

Technorati Tags: , , , , ,

And India wins..

India has won ICC twenty-twenty cricket world-cup. Final match was entertaining, breath-taking and totally cool. Congratulations to everyone. I hope and wish, Indian team continues the same form and wins the upcoming series with Australia.

Yahoo! Open Hack Day in Bangalore

Yahoo! Bangalore is hosting Yahoo! Hack Day between October 5th 2:30pm and October 6th 11pm 2007 at The Taj Residency, Bangalore.

This is indeed a great opportunity to meet other smart people (hackers) and build/hack some cool stuff. Just carry your laptop and no need to worry about other things (Internet, food, snacks etc), I am sure Yahoo! would take care of all that for you.

If you are game, apply here, remember only a select number of developers would be invited.

Technorati Tags: , , ,

We need flexibile crossdomain.xml on Google properties

Ali Mills posted about his experience of Google Developer Day. Where, Ali got to know about Google's plan to host a flexible crossdomain.xml on their servers, which would allow third-party flex-flash-web-applications to access Google APIs.
As we know, Youtube also changed it's crossdomain.xml, which broke many third-party flex-flash-applications consuming YouTube's API. I understand, it was more of security reasons; Lesson to be learnt: Never host a crossdomain.xml (which allows all domains) on your main application server.
Similarly, Gdata, Picasa, Google-Calendar etc don't allow all domains, only Google related properties.
I hope, Google guys hear us (Flash/Flex developers) and host a crossdomain.xml (as promised in Google Developer Day) asap.
Yahoo! has a good team of flash/flex developers, that could be the reason, Yahoo! has always been trying their best to satisfy the needs of developers. The most recent update, sure you all have heard of, Flickr now hosts a flexible crossdomain.xml, you can read more on these places:-

Technorati tags: , , , , , , ,