DevCoach A developer coaching platform to improve productivity and code quality. FogBugz An easy-to-use software project management tool designed with an agile-first mindset.
![RVM Stable and More](https://cdn-ak-scissors.b.st-hatena.com/image/square/d3a3a77428112262bd0609faa9dce5338fb6a56e/height=288;version=1;width=512/https%3A%2F%2Fblog.engineyard.com%2Fhubfs%2FEngine-Yard-June-2017-theme%2FImages%2Fsupport-panda-headline.png%23keepProtocol)
■ [ruby] REE-2011.12 アップデート業 Denial of service attack was found for Ruby's Hash algorithm (CVE-2011-4815)でアナウンスされているとおり、ruby-1.8.7p356以前には DoS 脆弱性があるというので今面倒を見ているアプリケーションを動かしている REE-2011.03 を upstream に追従した REE-2011.12 にバージョンアップする仕事を淡々とこなしていた。 production では rvm を使って ruby を管理しているので以下の手順でバージョンアップした 現在の REE-2011.03 の gems を 2011.12 という名称でコピー rvm install ree を実行、rvm get head で使っているので自動的に 2011.12 が指定され
このあと調べてみるとこの下にかかれている。 (旧)rubyをインストール (旧)rubyを使用する前に の手順では、OSにインストールしているライブラリに依存するため (OSのアップデートなどの際)あまりよろしくないみたい。 ということで必要な次のライブラリをrvm上で先にインストールしておく $ rvm package install openssl $ rvm package isntall readline $ rvm package install zlib $ rvm install 1.9.2 -C --with-openssl-dir=$HOME/.rvm/usr --with-zlib-dir=$HOME/.rvm/usr --with-readline-dir=$HOME/.rvm/usr これでとりあえず必要なライブラリもインストールされてruby利用できる状態になりま
なぐり書き. gemでzlibのLoadErrorが出るよ>< 困ったよ!>< っていう現象はわりとよくあるらしい.僕も引っかかった. % gem update ERROR: Loading command: update (LoadError) no such file to load -- zlib ERROR: While executing gem ... (NameError) uninitialized constant Gem::Commands::UpdateCommand んで,探して出てくるのはだいたい,ディストロ標準zlibパッケージ入れて,rubyをmakeしてmake installして んと,rubyの環境はやっぱりrvmで構築したい派なので,これじゃ解決策になりません. rvmでrubyを入れる直前に, % rvm pkg install zlib % rvm
■ [ruby][rvm] cron とかで rvm を使って何か動かす方法 cron や apache2 で rvm でインストールした1.9.2 とかを動かす時に ~/.rvm/rubies/ruby-1.9.2-p136/bin/ruby を使っていたんだけど、これだとユーザー環境以外でインストールした rubygems が認識されなくてだいぶ困っていたんだけど、このような場合は ~/.rvm/bin/ruby-1.9.2-p136 を使うのが正しいらしい。なるほどねぇ。 さらに gemsets を指定して動かしたい場合は wrapper というものを作るらしいよ。 rvm wrapper ree@rails3 myapp とかそんな感じで作ってから ~/.rvm/bin/myapp_ruby とか。 そんなこんなでhsbt.orgで動かすRubyはrvm経由の1.9.2p136にし
I have been struggling with getting rvm to install on a Ubuntu 10.10 Maverick Meerkat in an fully automated way. After a painfull experience when upgrading to ruby 1.9.2 I decided, for new installation, I need to be sure I can easily set the ruby installation. This install does not fully work on zsh There are a dozens of guides showing how to do that manually, mostly as a user install. Here is the
Here is what I have done so far. Clean install of OS X Lion Downloaded and installed latest version of Xcode from the App Store. Installed Git Installed Homebrew Installed RVM I am now trying to install Ruby Enterprise Edition for a project with rvm install ree and receive the following error: $ rvm install ree ree-1.8.7-2011.03 - #installing ERROR: Error running './installer -a /Users/FaraazKhan/
そのままだとシステム標準の Ruby が使われるっぽいです。 .vimrc に下記の設定を加えてやれば OK です: let g:quickrun_config = {} if strlen($rvm_bin_path) let g:quickrun_config['ruby'] = { \ 'command': 'ruby', \ 'exec': '$rvm_bin_path/ruby %s', \ 'tempfile': '{tempname()}.rb' \ } endif 追記 :! /usr/bin/env ruby -v でシステム標準の Ruby が呼ばれているのがおかしいのかな? 追記2 -s ”$HOME/.rvm/scripts/rvm” ? && source "$HOME/.rvm/scripts/rvm" を .zshrc に書いたのが原因でした。 .zshenv
Our Ruby on Rails starter pack is aimed at those who’ve been interested in this popular web application framework but have never gotten around to trying it out because they didn’t know where to start. Compared to traditional Ruby on Rails tutorials, this starter pack doesn’t hold your hand, teaching you the basics step by step. Instead, it serves as a general introduction to Ruby on Rails and as a
Donation Love RVM? A donation would help justify to my family why I spend so much time working on Open Source projects like RVM. Recommend If you like my work with RVM, please recommend me *with a comment as to why you recommend me* on Working With Rails – Thank You! IRC I am 'wayneeseguin' in #rvm on irc.freenode.net If I do not respond right away, leave a message and I'll respond or leave you a
Apache と Passenger と RVM を利用して、複数の gemset の環境の アプリケーションを動かす手順のメモです。 例えば、Rails2 のアプリと Rails3 のアプリを同一の Passenger 上に 共存させることなどができます。 文中の # で始まるプロンプトは root ユーザーでの作業を表し、 $ で始まるプロンプトは一般ユーザー(ここではwebappという名前のユーザー)での作業を 表します。 例えば、ruby-1.8.7-p334 しか利用しない(ruby-1.9.2などは混在させない)場合です。 Apache に Passenger モジュールをインストールすることで、 Apache と Passenger を連携させます。 ユーザー作る まずはWebアプリケーションを動かすためのユーザーを作成します。 #useradd -s /bin/bash -
もう1週間経ってしまいましたが、明けましておめでとうございます。 本年も適当にやっていきますねヽ(´∀`)ノ笑 さて、2011年最初のエントリーは、ちょっと今までと趣が違います。 まずプラットフォームがLinuxですからね。 これは、私自身の備忘録として残したかったので、よろしければお付き合いくださいm(_ _)m 今回の環境: Windows Vista Ultimate に VMware Player 3.1.3 をインストールし、その上で Ubuntu 10.10 を動かしています。 1. 前準備 次のブログの「事前セットアップ」と言う箇所を参考に、いくつかのパッケージをインストールしました。 ubuntu 10.04 で Ruby on Rails(環境構築編) - プログラマの覚書 $ sudo apt-get install gcc $ sudo apt-get instal
■ [ruby][rvm] cron とかで rvm を使って何か動かす方法 cron や apache2 で rvm でインストールした1.9.2 とかを動かす時に ~/.rvm/rubies/ruby-1.9.2-p136/bin/ruby を使っていたんだけど、これだとユーザー環境以外でインストールした rubygems が認識されなくてだいぶ困っていたんだけど、このような場合は ~/.rvm/bin/ruby-1.9.2-p136 を使うのが正しいらしい。なるほどねぇ。 さらに gemsets を指定して動かしたい場合は wrapper というものを作るらしいよ。 rvm wrapper ree@rails3 myapp とかそんな感じで作ってから ~/.rvm/bin/myapp_ruby とか。 そんなこんなでhsbt.orgで動かすRubyはrvm経由の1.9.2p136にし
Our Ruby on Rails starter pack is aimed at those who’ve been interested in this popular web application framework but have never gotten around to trying it out because they didn’t know where to start. Compared to traditional Ruby on Rails tutorials, this starter pack doesn’t hold your hand, teaching you the basics step by step. Instead, it serves as a general introduction to Ruby on Rails and as a
UPDATED 6/7/2013 – We no longer recommend using bash -l -c to run Cron jobs with RVM. See our updated approach . This info is for Scout users, but it’s also applicable to anyone who’s wondered how to use cron together with RVM. This assumes 1) you are using bash; 2) you running you cron tasks as a non-root user (say, “deploy”). To use an RVM Ruby from cron, invoke your own bash session, like so:
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く