Prabhakar Chaganti

author
+ Follow
since Nov 30, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Prabhakar Chaganti

Hi David,

Have you had a chance to play with JRuby at all? I have had some problems with using rubygems from JRuby specially the ones that need some pieces of native code compiled. What are your thoughts on this and on JRuby?

thanks
prabhakar
12 years ago
Hi David,

Could you point me to a list of gems covered by the book? Also how did you reduce your list to the 30 gems for the book? Rubyforge has a ton of them and several are very popular.

thanks
12 years ago
The reason I like the David Black book is that it gives you a better understanding of the Ruby language itself and how it provides a lot of the magic behind rails. You can use rails without knowing too much Ruby, as Rails is almost like a DSL itself, but to be really proficient, you will need to gain a deeper understanding of Ruby the language.
12 years ago
I would recommend these two books if you want to learn rails:

Agile web development with rails - Dave Thimas and David Hansson
Ruby for Rails - David Black
12 years ago
The easiest and quickest way is using Dr. nic's new gem creator to bundle your ruby lib into a nice gem.

http://newgem.rubyforge.org/
12 years ago
There are not too many widely used web frameworks outside of rails in Ruby. There is camping which is a microframework. is there a reason why you dont want to use one based on rails?
[ June 19, 2007: Message edited by: Prabhakar Chaganti ]
12 years ago
If you use Ubuntu, you have to install rubygems from the src package on rubyforge. You can install ruby and ruby devel packages from synaptic or apt.
12 years ago
I have not seen any gem yet that checks to see if the required libs are there. A case in point being the rmagick gem which needs imagemagick installed. The installation usually fails with a ruby stack trace about something missing.
12 years ago
There are a few Ruby gaming libs. Check these links:

http://raa.ruby-lang.org/cat.rhtml?category_major=Library;category_minor=Game
http://www.raschke.de/julian/gosu/

If you are not particular that the scripting be in Ruby, Python has some good gaming libs.
12 years ago
Gems are packaging format used for distributing Ruby libraries. Think of it as a java jar file or a python egg. You can install/update these libraries by using the gem command, which will automatically download and install/update/build docs and the dependencies for the gem. It is similar in feel to using Debian's package manager "apt" to install software packages on linux.
12 years ago
There arent any AJAX related gems, as far as I am aware. If you are referring to AJAX calls in Rails, they are usually done via helpers, which are ruby methods, like link_to_remote, etc.
12 years ago
Are you installing this on linux? If so are you doing it from source or a package manager?
12 years ago
I feel Ruby is a much more powerful language than Groovy. Groovy has a lot of language features which seem to be similar to Groovy and Python, and it has great integration with JAVA itself. But writing things in Groovy just doesnt feel very natural to me. With Jruby now you can have the same access to the JVM, while harnessing the full power and expressiveness of Ruby.
12 years ago
Hi David,

How would you compare gems to the standard python packaging format of eggs?

thanks
prabhakar
12 years ago
Thanks a lot to everyone on the javaranch. I had a great time and it was really cool to hear from the folks who are using or thinking about using GWT. Congratulations to the winners.

-prabhakar
12 years ago
GWT