I have been trying to understand RVM and decided to do so by not using it and seeing the consequences. I am trying to see how I can manage different versions of ruby and their gemsets without RVM.
I compiled Ruby 1.9.1 from source on my Ubuntu machine and found it in the path usr/local/bin/ruby.
I have RVM installed with Ruby 1.9.3 and Rails
$ rails -v
Rails 3.2.8
system: "redhat/5.8/x86_64"
I am trying to start the rails server using either: 'rails server -d' or even just 'rails'
however I am getting the following error:
$ rails server -d
/home/lauren/.rvm/rubies/ruby-1.9.3-p286/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': libcrypto.so.1.0.0: cannot ope
About 50% of the time, when I run bundle (or bundle exec foo) I get an error like the following:
> bundle
/usr/local/Cellar/ruby/1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': No such file or directory - /usr/local/lib/?y (Errno::ENOENT)
from /usr/local/Cellar/ruby/1.9.3-p374/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/
I keep on getting an error when I run a file called wc.rb.
I am using Ubuntu 12.04 64 bits.
I'll let the shell log explain itself:
root:~# rvm current
system
root:~# which ruby
/usr/bin/ruby
root:~# rvm use 1.9.2
Using /root/.rvm/gems/ruby-1.9.2-p290
root:~# rvm current
ruby-1.9.2-p290
root:~# which ruby
/root/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
root:~# rvm system
root:~# rvm current
system
root:~# which ruby
/root/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
root:~#
At this point, if rvm cl
I just switched from Heroku to Amazon Web Services. Previously I ran all of my Rails command line commands using my Command Prompt with Ruby (from my Windows PC).
I hope my title isn't confusing. I've got a CentOS 5 machine and I had Ruby 1.8.7 installed on here. So in order to upgrade my Ruby installation and gems/rails I
Uninstalled Ruby: sudo yum remove ruby
Downloaded the latest stable release of ruby and untared it: wget...
Im getting that alert (Linode server) every couple of day.
Top shows 110% usage by ruby.
In not doing any script with ruby, but i do use Redmine and SASS on this server, how do i debug this? how i know what is calling ruby?
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
29368 root 20 0 48440 9648 1616 S 110 1.9 598:18.25 ruby