ruby on rails - rubygems not working on Synology DS209 -
i'm trying install ruby on rails on synology ds209 using instructions @ http://wiki.joachimschuster.de/index.php/install_ruby_on_rails_and_redmine_on_ds210%2b. have prerequirements checked (except redmine-user, assume isn't problem), , rubygems , zlib packages installs fine through ipkg.
however, when run gem, following errors:
diskstation> gem /opt/bin/gem: line 8: require: not found /opt/bin/gem: line 9: require: not found /opt/bin/gem: line 10: require: not found /opt/bin/gem: line 12: required_version: not found /opt/bin/gem: line 14: unless: not found /opt/bin/gem: line 15: abort: not found /opt/bin/gem: line 16: end: not found /opt/bin/gem: line 21: syntax error: unexpected "(" diskstation> any suggestions?
edit: removing , reinstalling rubygems revealed following:
diskstation> ipkg remove -force-removal-of-dependent-packages ruby removing package rubygems root... removing package ruby root... terminated. diskstation> ipkg install rubygems installing rubygems (1.1.1-1) root... downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/rubygems_1.1.1-1_arm.ipk installing ruby (1.9.1.243-1) root... downloading http://ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/unstable/ruby_1.9.1.243-1_arm.ipk configuring apache update-alternatives: linking //opt/sbin/htpasswd /opt/sbin/apache-htpasswd update-alternatives: linking //opt/sbin/httpd /opt/sbin/apache-httpd httpd: syntax error on line 75 of /opt/etc/apache2/httpd.conf: cannot load /opt/libexec/mod_ext_filter.so server: /opt/libexec/mod_ext_filter.so: undefined symbol: apr_procattr_limit_set httpd: syntax error on line 75 of /opt/etc/apache2/httpd.conf: cannot load /opt/libexec/mod_ext_filter.so server: /opt/libexec/mod_ext_filter.so: undefined symbol: apr_procattr_limit_set postinst script returned status 1 error: apache.postinst returned 1 configuring ruby configuring rubygems terminated.
i have same problem..
gem script file , if see inside, calls ruby "#!/opt/bin/ruby". let's see "/opt/bin/ruby"!! script file calls "#!/opt/bin/ruby".
it's non-sense...
i think there bug installing packages.. now, have no solution...
i found solution... install ruby again.
ipkg install ruby -force-reinstall after this, have binary ruby file.
if trying redmine on dsm 4.0, installing rails require libcrypto.so.0.9.8 not in nas. make copy /usr/lib/libcrypto.so.1.0.0 , make it.
Your blog is in a convincing manner, thanks for sharing such an information with lots of your effort and time
ReplyDeleteruby on rails training
ruby on rails training India
ruby on rails training Hyderabad