Update RVM list known

No it is not, some of the version changes require changes in code, you should be good with sticking to stable to keep more stability (if that is your concern): rvm get stable you should be good with sticking to master (as it’s stable) to get latest versions: rvm get master

How to use “RVM –default” on MacOSX

I had the same problem once. It turned out the rvm-script got loaded twice, which broke things a bit. Check all the files that load when you open a shell: /etc/profile ~/.bashrc ~/.bash_profile and so on, and make sure they don’t load RVM twice. Maybe put echo “Going to load RVM” before [[ -s “/Users/user/.rvm/scripts/rvm” … Read more

Gem install hangs indefinitely

If gem install is hanging, it’s most likely a network, proxy, or firewall issue on your end. You can investigate by issuing your gem install command in verbose mode with -V. It’ll show you what URLs it’s communicating with to download the gem, and you can hopefully see what it’s doing and where it’s hanging: … Read more

How to install RVM on Windows 7

No RVM for you! From RVM’s FAQ: Does RVM work on windows? Will it in the future? NO. If you would like to manage multiple versions of ruby on windows please use pik which is an excellent tool by Gordon Thiesfeld. You can find it on GitHub. There are plans to include windows support in … Read more

How do I configure capistrano to use my rvm version of Ruby

You have two options: Enable .ssh environment variables using the PermitUserEnvironment option in your ssh configuration file Use the capistrano :default_environment setting For the second option, simply add the following line in your deploy.rb file set :default_environment, { ‘PATH’ => “/path/to/.rvm/ree-1.8.7-2009.10/bin:/path/to/.rvm/gems/ree/1.8.7/bin:/path/to/.rvm/bin:$PATH”, ‘RUBY_VERSION’ => ‘ruby 1.8.7’, ‘GEM_HOME’ => ‘/path/to/.rvm/gems/ree/1.8.7’, ‘GEM_PATH’ => ‘/path/to/.rvm/gems/ree/1.8.7’ } To get the … Read more

How do I install Bash >= 3.2.25 on Mac OS X 10.5.8?

Homebrew is generally a bit nicer than MacPorts, as it doesn’t require lots of sudo action. Here’s an article that guided me to upgrading my install of bash: http://concisionandconcinnity.blogspot.com/2009/03/upgrade-bash-to-40-in-mac-os-x.html As for steps: Install Homebrew from the docs on their homepage Install Git using Homebrew (optional, but nice to have a more up-to-date git) brew install … Read more

How to have multiple versions of Ruby AND Rails, and their combinations on Windows?

Use uru. It is a multi-platform ruby environment manager. You can download the Windows version here: https://bitbucket.org/jonforums/uru/wiki/Downloads Install the tool Assuming C:\tools is on PATH and uru_rt.exe was extracted to C:\tools C:\tools>uru_rt admin install This adds uru.bat file to the tools directory. Register ruby uru admin add C:\ruby200\bin List available rubies uru ls 174 : … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)