Install Ruby & Rails

From OpenFSG

Jump to: navigation, search
  1. Follow the instructions for installing ipkg.
  2. Install Ruby
  3. / # ipkg install http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/ruby_1.8.4-2_armeb.ipk
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/ruby_1.8.4-2_armeb.ipk
    Installing ruby (1.8.4-2) to root...
    Configuring ruby
    Successfully terminated.
    
  4. Install rubygems
  5. / # ipkg install http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/rubygems_0.9.0-1_armeb.ipk
    Downloading http://ipkg.nslu2-linux.org/feeds/optware/nslu2/cross/stable/rubygems_0.9.0-1_armeb.ipk
    Installing rubygems (0.9.0-1) to root...
    Configuring rubygems
    Successfully terminated.
    
  6. Install rails
  7. (You may need to add zlib for this stage)
    / # ipkg install zlib
    
    / # gem install rails -y

    Rails will take a long time to install all the packages.

    Note: I cannot get a database connector for ruby (I wanted to use sqlite3), but RubyGems needs to run make to natively link the ruby extension. If anybody can get this working please let me know.

Personal tools