Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Practical Ruby Gems - Question

 
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How good does this book compare with Java FX? If I understood this correctly, Gems is for scripting like Java FX?

Can you please provide with a TOC for the book.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there,

Gems is similar to installing the .JAR files to JRE\LIB\EXT . They(gem libraries) are available for programs using that installation of ruby.

JavaFX : I don't know it well enough to describe it : since you're from the java world, you should be able to grok it.

I hope that answers.

BR,
~A
 
Joe Harry
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought GEMS is some kind of scripting language. Anyways, thanks for answering my post!
 
author
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
author
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Quite right. Note that another excellent advantage of RubyGems is that it's written in pure Ruby, so it runs anywhere Ruby runs. You can install some Ruby libraries with apt-get or Yum, but they are of course distribution specific. (They also typically lag behind the RubyGems distribution.)

Additionally, RubyGems offers versioning - you can request only a certain version of a gem, and you can have multiple versions of the same gem installed at once. This is a nice feature, and means that you can solve versioning issues with nice error messages instead of failing because of a missing method or class.

Take it easy,

David Berube
 
Joe Harry
Ranch Hand
Posts: 10192
3
Mac PPC Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys for clarifying!
 
This tiny ad is wafer thin:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!