Changes between Version 2 and Version 3 of howto/RubyOnRails
- Timestamp:
- Apr 6, 2016, 3:25:05 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
howto/RubyOnRails
v2 v3 14 14 In 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 15 15 {{{ 16 port install rb2 2-rails4.216 port install rb23-rails4.2 17 17 }}} 18 18 but until then you need to use other tools with a wider base of maintainers. … … 43 43 44 44 {{{ 45 rbenv install 2. 2.346 rbenv global 2. 2.345 rbenv install 2.3.0 46 rbenv global 2.3.0 47 47 ruby -v 48 48 }}} … … 51 51 52 52 {{{ 53 gem install rails -v 4.2. 453 gem install rails -v 4.2.6 54 54 }}} 55 55 … … 62 62 === Problems === 63 63 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: 64 There might be some problems related to installation of nokogiri 1.6.7 (a bug in the installer). As a workaround you can use: 65 {{{ 66 export NOKOGIRI_USE_SYSTEM_LIBRARIES=1 67 }}} 68 or 67 69 {{{ 68 70 gem install nokogiri -- --use-system-libraries --with-xml=/opt/local/ 69 71 }}} 70 b ut the gem might stop working when you upgrade `libxml2` from MacPorts.72 before 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. 71 73 72 74 = Setting up the Database = #database