Install Ruby & Rails
From OpenFSG
- Follow the instructions for installing ipkg.
- Install Ruby
- Install rubygems
- Install rails (You may need to add zlib for this stage)
/ # 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.
/ # 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.
/ # 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.
