2016年8月25日木曜日

Rails: Passenger ver.5.0.30 Released


Error Message.
------
Your compiler failed with the exit status 4. This probably means that it ran out of memory. To solve this problem, try increasing your swap space:
------

$ sudo dd if=/dev/zero of=/swap bs=2M count=1024
$ sudo mkswap /swap
$ sudo swapon /swap

$ sudo passenger-install-apache2-module 





2016年7月29日金曜日

2016年7月11日月曜日

RubyOnRails : To Solve error and install activeadmin for rails ver.5.0.0

I wrote ↓
http://blog.hhoshina.info/2016/07/rubyonrails-rails-500-release.html

To solve this error and install activeadmin i uses the fallowing gem configuration in gem-file and it works well::
_
gem 'devise'
gem 'activeadmin', github: 'activeadmin/activeadmin'
gem 'inherited_resources', github: 'activeadmin/inherited_resources'

Gemfile sample  ↓
https://github.com/hhoshina/rails5/blob/master/Gemfile

2016年7月10日日曜日

WordPress: php setting



$ sudo yum install mod_php
$ sudo yum install php-mbstring

$ sudo vim /etc/php.ini
extension=mbstring.so

fd-find

 $ sudo apt install fd-find $ fdfind 石