Skip to content

Instantly share code, notes, and snippets.

@yashihei
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yashihei/7db1a14a7777d67618d6 to your computer and use it in GitHub Desktop.
Save yashihei/7db1a14a7777d67618d6 to your computer and use it in GitHub Desktop.
rbenv導入

Ubuntu14.10にて、以下の通りに。 2.2.0がコケる何で。とりあえず1.9.3を入れる。

$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
$ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
$ rbenv install 1.9.3-p551

あとは

$ rbenv rehash
$ rbenv global 1.9.3-p551

2.2.0を入れるのに必要なパッケージなはず。

$ apt-get install libffi-dev zlib1g-dev

gem使ったり

$ gem install sass
$ rbenv rehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment