Save 50% on Shade 3D Modeling | Rendering | Animation Limited Time Sale
Desktop, iPhone and Android Apps Easily with x 10 faster graphics, in-app purchases and iPhone 5 support!
FREE Valentina Studio 5 Supports MySQL, Postgre, SQLite and Valentina DB
Chunk 1.2.1 Released: Now Includes Ms Chunk, Ms Chunk + 21 New Head Dials.
If you are planning to develop using Valentina and Ruby, or Valentina with Ruby on Rails, please read this page carefully. These instructions cover installation both on Windows and Mac OS X.
The installation procedure of “Valentina for Ruby” module is as easy as the following:
Download the Valentina for RUBY for MAC OS X archive.
Open the disk image and run theinstaller. It installs the following items onto the computer - if these directories do not already exist, the installer creates them:
The implementation of Ruby on MAC OS X not Univeral Binary, but as PPC and i686 for MAC PPC and MAC INTEL separately. Because of this, there are two different modules included:
ln -s /Users/rz/Paradigma Software/VRUBY_3/vruby_ppc_release.bundle /usr/local/lib/ruby/site_ruby/1.8/powerpc-darwin8.11.0/vruby_ppc_release.bundle
First, make sure you have followed the instructions on Enabling Valentina for Ruby. You should have installed Ruby on Rails on your computer into system location.
Because packaged Ruby on Rails can introduce their own idiosyncrasies, you may have problems with Ruby on Rails if you used Locomotive.
You must edit this file in order for Ruby on Rails to recognize Valentina: RUBYDIR/lib/ruby/gems/activerecord-1.15.2/lib/active_record.rb Change the following line:
RAILS_CONNECTION_ADAPTERS = %w( mysql postgresql sqlite firebird sqlserver db2 oracle sybase openbase )
To... RAILS_CONNECTION_ADAPTERS = %w( mysql postgresql sqlite firebird sqlserver db2 oracle sybase openbase valentina )
Please let the Ruby on Rails team you'd like this adapter reference to be added automatically.
Copy "VRUBY_3/valentina_adapter.rb" into the following location:
That's it! You should be ready to write your Ruby on Rails applications and enjoy the minutes-to-seconds speed Valentina affords.
You should be able now to use VRUBY examples from these folders:
To use the example pages, you must have Valentina Server running on the same computer as the examples point to localhost. If you run Valentina Server on another computer then you need to correct the “examples_globals.rb” file to specify a correct IP of Valentina Server.