mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
add notes for centos
This commit is contained in:
parent
f5defeb82a
commit
93d5bfb3d4
@ -18,3 +18,25 @@ cd home-assistant.io
|
||||
bundle
|
||||
rake preview
|
||||
```
|
||||
|
||||
|
||||
### Preparation on CentOS
|
||||
On CentOS (here 7.1.1503) Ruby is not available by default. Please take the notes here as a little guide for the Ruby installation process.
|
||||
|
||||
```bash
|
||||
curl -sSL https://rvm.io/mpapis.asc | gpg2 --import -
|
||||
curl -L get.rvm.io | bash -s stable
|
||||
source ~/.profile
|
||||
rvm requirements
|
||||
rvm install ruby-2.2.2
|
||||
rvm use ruby-2.2.2 --default
|
||||
ruby -v
|
||||
```
|
||||
|
||||
The last command will give you something like this `ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]`. Then install `bundler`.
|
||||
|
||||
```bash
|
||||
gem install bundler
|
||||
```
|
||||
|
||||
Now please follow the instruction above.
|
||||
|
Loading…
x
Reference in New Issue
Block a user