Tag: rvm

Installing Ruby via RVM fails to configure

I’m trying to install Ruby via RVM by running rvm install 1.9.3 but am getting a bunch of errors: Error running env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure –prefix=/Users/kuzjaved/.rvm/usr, please read /Users/kuzjaved/.rvm/log/ruby-1.9.3-p327/yaml/configure.log Error running make, please read /Users/kuzjaved/.rvm/log/ruby-1.9.3-p327/yaml/make.log Error running env LDFLAGS=-L/opt/sm/pkg/active/lib CFLAGS=-I/opt/sm/pkg/active/include CPATH=/opt/sm/pkg/active/include ./configure –enable-shared –disable-install-doc –prefix=/Users/kuzjaved/.rvm/rubies/ruby-1.9.3-p327 –with-opt-dir=/Users/kuzjaved/.rvm/usr, please read /Users/kuzjaved/.rvm/log/ruby-1.9.3-p327/configure.log There has been an error […]

RVM cannot build OpenSSL on Mountain Lion

Ruby will build just fine, but it won’t build with OpenSSL support. I’ve tried setting CC to point to both the XCode 4.6 command line tools’ copy of GCC and MacPorts’ version of gcc 4.2. That doesn’t work. I’ve added –with-openssl-dir=$rvm_path/usr and –with-opt-dir=$rvm_path/usr. Neither of those work. Each time it fails, I check the log […]

Omega Compass Library error

I am going through the motions to understanding the Omega 4 Theme in drupal. I did the sub-theme through drush and I have rvm, ruby and I believe all the gems installed. I should add that I have rgbapng & compass installed. I am not familiar with the @global though… However when I go to […]

Running a gem on cron with a specific version of ruby

We need a certain gem application run on a cron schedule, so we have a dedicated user set up to run this gem. We are currently using ruby 1.9.2 [jobrunner@test-load] rvm list rvm rubies ruby-1.8.7-p299 [ x86_64 ] ruby-1.9.2-p180 [ x86_64 ] =* ruby-1.9.2-p290 [ x86_64 ] ruby-1.9.3-p125 [ x86_64 ] ruby-1.9.3-p374 [ x86_64 ] […]

Problem installing Ruby 1.9.2 with RVM on OSX 10.4

I successfully installed Ruby 1.8.7 with RVM on OS 10.4. However, when I try to install 1.9.2, I get the following error: make: * [libruby.1.9.1.dylib] Error 1 Installation: [qm]$ rvm install 1.9.2 /Users/qm/.rvm/rubies/ruby-1.9.2-p136, this may take a while depending on your cpu(s)… % ruby-1.9.2-p136 – #fetching % ruby-1.9.2-p136 – #downloading ruby-1.9.2-p136, this may take a […]

Installing Ruby on AIX

What are some less painful ways to install Ruby on AIX? I found out that using RVM to install Ruby might be the best option. However, installing RVM itself seems like really maddening. I found an article from IBM website on how to install RVM but there are so many prerequisites for it that I […]

Known versions of ruby – rvm list known

Possible Duplicate: Deleting versions of ruby I’m trying to uninstall a single version of ruby. The second in this list: which -a ruby /Users/snowcrash/.rvm/rubies/ruby-1.9.2-p318/bin/ruby /Users/snowcrash/.rvm/bin/ruby However, when I run: rvm remove I get: Really? remove all? See “rvm list known” and limit the selection to something more sane please 🙂 So, running: rvm list known […]

Capistrano + RVM + Rake task

I have a project which uses rvm ruby 1.9.2 (set in .rvmrc in project dir). deploying with capistrano. has a rake task I want to run remotely from my local machine by capistrano. I’ve created a .sh file to run my task: cd /var/www/pluslook/current /home/kirill/.rvm/scripts/rvm use 1.9.2@pluslook /home/kirill/.rvm/gems/ruby-1.9.2-p180@pluslook/bin/rake parse:feed RAILS_ENV=”production” –trace But when I’m trying […]

Postinstall, rvm(ruby version manager) without root access

I am trying to use RVM, (“ruby version manager”) and after the source installation, I need to add rvm command into my profile. I added following code to the $HOME/.profile file but it does not seem to work. [[ -s “$HOME/.rvm/scripts/rvm” ]] && . “$HOME/.rvm/scripts/rvm” # This loads RVM into a shell session. So I […]

RVM: how to change default path to home directory?

I got this error on using RVM kithokit@14:22:59 ~ $ rvm install 1.9.3 mkdir: cannot create directory ‘/usr/local/rvm/log/ruby-1.9.3-p448’: Permission denied Could not detect ruby version/name for installation, please be more specific. How can i change the default directory to /home/kithokit/.rvm

Ruby is the best programming language in the world - Ruby on Rails.