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

2016年7月9日土曜日

CentOS: from CentOS 6.5 to CentOS 7


$ cat /etc/redhat-release

CentOS release 6.8 (Final)

$ sudo yum -y install openscap pcre-devel libxml2-devel libxslt-devel
$ sudo yum -y install m2crypto python-simplejson

$ cd /etc/yum.repos.d
$ sudo vim upgradetool.repo 

[upg]
name=CentOS-$releasever - Upgrade Tool
baseurl=http://dev.centos.org/centos/6/upg/x86_64/
gpgcheck=1
enabled=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

$ sudo yum install redhat-upgrade-tool preupgrade-assistant-contents

$ sudo su -
preupg -s CentOS6_7

$ sudo reboot

$ sudo centos-upgrade-tool-cli --network 7 --instrepo=http://mirror.centos.org/centos/7/os/x86_64/




RubyOnRails: Rails 5.0.0 release

rails 5.0.0 release.

Rails5.0.0 I tried to install from rails5.0.0.rc2 , but resulted in an error.
"activeadmin" seemed because does not correspond to the rails5.0.0.

Click here for details
https://github.com/activeadmin/activeadmin/issues/4177
( not ActiveAdmin is broken, the Problem is inherited_resources and has_scope.)

https://github.com/hhoshina/rails5




fd-find

 $ sudo apt install fd-find $ fdfind 石