Changes between Version 2 and Version 3 of howto/RubyOnRails


Ignore:
Timestamp:
Apr 6, 2016, 3:25:05 AM (8 years ago)
Author:
mojca (Mojca Miklavec)
Comment:

updates about nokogiri problems, update ruby/rails versions

Legend:

Unmodified
Added
Removed
Modified
  • howto/RubyOnRails

    v2 v3  
    1414In ideal world the packaging of these modules would be better and more up-to-date, so that installing Ruby on Rails would be as straightforward as
    1515{{{
    16 port install rb22-rails4.2
     16port install rb23-rails4.2
    1717}}}
    1818but until then you need to use other tools with a wider base of maintainers.
     
    4343
    4444{{{
    45 rbenv install 2.2.3
    46 rbenv global 2.2.3
     45rbenv install 2.3.0
     46rbenv global 2.3.0
    4747ruby -v
    4848}}}
     
    5151
    5252{{{
    53 gem install rails -v 4.2.4
     53gem install rails -v 4.2.6
    5454}}}
    5555
     
    6262=== Problems ===
    6363
    64 (TODO)
    65 
    66 There might be some problems related to installation of nokogiri (a bug is the installer). A workaround might be the following:
     64There might be some problems related to installation of nokogiri 1.6.7 (a bug in the installer). As a workaround you can use:
     65{{{
     66export NOKOGIRI_USE_SYSTEM_LIBRARIES=1
     67}}}
     68or
    6769{{{
    6870gem install nokogiri -- --use-system-libraries --with-xml=/opt/local/
    6971}}}
    70 but the gem might stop working when you upgrade `libxml2` from MacPorts.
     72before installing rails which will link against the `libxml2` library from MacPorts (but note that it might stop working if you happen to upgrade to an abi-incompatible version of that library or if you uninstall it). The problem was apparently fixed in nokogiri version 1.6.8.
    7173
    7274= Setting up the Database = #database