|
DevelopmentSoftware
Software you must install to run Calagator on your machine
Software needed by Calagator Developers for local developmentRead the current instructions for installing Calagator online or from the "INSTALL.md" file in the source code checkout. ... ... ... OBSOLETEThe instructions below are obsoleted by the "INSTALL.md" linked above, but are preserved here for archival purposes. Listed by order of installation
InstallationInstall all listed items in the order above, following any directions in the comments. At this point you'll have the Rails app ready to test. Running specs with rake spec will help confirm that everything is configured correctly. Then you're ready to start looking through the code, and working on issues listed in the tracker. If you're new to working with Ruby on Rails, Rails Guides will help get up to speed on the framework. The Getting Started Guide also has links to Ruby programming tutorials. Known issuesOSX 10.5 & MacPortsApple ships Ruby with 10.5 (and 10.4 if I remember correctly), though it is likely that you have installed MacPorts and it in turn has installed it's own version of ruby. You will run in to an issue if the ruby at /opt/local/bin/ruby and /usr/bin/ruby are different versions. The best way around this is to move one out of the way (ie sudo mv /usr/bin/ruby /usr/bin/ruby.dist) and then symlink back to the other version (ie sudo ls -s /opt/local/bin/ruby /usr/bin/ruby). SQLite3 for WindowsWindows developers should (a) download the pre-compiled DLL version of SQLite, (b) make sure the .def, .dll are in the Path (e.g., c:\ruby\bin); (c) install the SQLite3 gem. When downloading SQLite3 for Windows, you must download the precompiled binary that includes the DLL (currently sqlitedll-3_6_11.zip). The .exe file -- which is in a different download -- isn't used by Rails, but isn't harmful. SQLite3 gem release 1.2.4 does not work for Windows. Therefore Windows developers should download and install version 1.2.3: gem install --version 1.2.3 sqlite3-ruby. (The developer released SQLite3 gem release 1.2.4 without a pre-compiled Windows version. The developer intends to release the next update with a pre-compiled Windows version, but is seeking help on building that compilation. See here or here. Until this is fixed, Calagator developers using Windows should use version 1.2.3.) When installing the SQLite3 gem for Windows: after typing in 'gem install --version 1.2.3 sqlite3-ruby', you may get 3 different gem options. Select #3,(mswin32) option. Missing required gems error2009.03.05 If -- sometime after cloning the Calagator source code -- you get a message saying that you are missing required gems and suggesting Run 'rake gems:install', then follow that suggestion. If that suggestion does not work (you get the same error message), then install each missing gems individually. If the error message included a version number in addition to the gem name, install that version. We also suggest installing without documentation. Example: If the error message said Missing these required gems: vpim facets >= 2.5.0 Then run gem install vpim --no-rdoc --no-ri gem install facets --version ">= 2.5.0" --no-rdoc --no-ri |
Sign in to add a comment