"gem mysql2" module does not work that it MariaDB10.1 on Ubuntu16.04
There is a need to install the Mysql5.6.
describe..
https://github.com/brianmario/mysql2/issues/756
2016年5月30日月曜日
2016年5月28日土曜日
Vim: How to solve “requires python 2.x support” in linux vim
In Ubuntu/Lubuntu 16.04, I have success with installing
vim-gnome-py2
$ sudo apt-get install vim-gnome-py2
Upgrade Ubuntu 14.04 to Ubuntu 16.04 – Server Upgrade
$ sudo apt-get update && sudo apt-get dist-upgrade
$ sudo reboot
$ sudo apt-get install update-manager-core
$ sudo vi /etc/update-manager/release-upgrades
$ sudo do-release-upgrade -d
$ sudo reboot
$ sudo apt-get install mariadb-server mariadb-client libmariadbd-dev libmariadb18
$ sudo reboot
$ sudo apt-get install update-manager-core
$ sudo vi /etc/update-manager/release-upgrades
$ sudo do-release-upgrade -d
$ sudo reboot
$ sudo apt-get install mariadb-server mariadb-client libmariadbd-dev libmariadb18
2016年5月22日日曜日
GoLang: WebFramework Revel
$ go get github.com/revel/revel
$ go get github.com/revel/cmd/revel
$ revel new github.com/myaccount/myapp
$ vim myapp/conf/app.conf
http.port = 3000
$ revel run github.com/myaccount/myapp
2016年5月21日土曜日
Ruby On Ralis : Active Admin for Rails5
https://github.com/activeadmin/activeadmin
$ vim Gemfile
gem 'activeadmin', github: 'activeadmin/activeadmin'
gem 'devise', github: 'plataformatec/devise'
gem 'kaminari', github: 'amatsuda/kaminari', branch: '0-17-stable'
$ rails destroy devise:install
$ rails g active_admin:install
$ rails c
pry(main)> AdminUser.create!(:email => 'admin@example.com', :password => 'password', :password_confirmation => 'password')
$ rails db:migrate
$ rails generate active_admin:resource Twine
$ rails s
$ rails console -e production
pry(main)> AdminUser.create!(:email => 'admin@example.com', :password => 'password', :password_confirmation => 'password')
$ rails g active_admin:assets
$ vim config/initializers/kaminari.rb
Kaminari.configure do |config|
config.page_method_name = :per_page_kaminari
end
2016年5月17日火曜日
RubyOnRail : Rails 5.0.0 rc release.
Rails 5.0.0 rc test.
【test site】
https://hhoshina.info/
【Point Memo】
1. Graph(kickchart)
app/views/layouts/application.html.erb
【test site】
https://hhoshina.info/
【Point Memo】
1. Graph(kickchart)
app/views/layouts/application.html.erb
<%= javascript_include_tag "//www.google.com/jsapi", "chartkick" %>
config/environments/production.rb
config.assets.compile = true
2. twitter-bootstrap
Gemfile
gem 'twitter-bootstrap3-rails'
$ rails g bootstrap:install static
$ rails g bootstrap:layout application fluid
3. google map
2016年5月14日土曜日
登録:
投稿 (Atom)
fd-find
$ sudo apt install fd-find $ fdfind 石
-
$ sudo apt install fd-find $ fdfind 石
-
$ wasm-pack build --target www $ cd www $ npm install $ npm run start $ npm run build