How to Delete Some Folders of Nokogiri and Capybara-Webkit Inside of My Rvm Gemset

Can I delete some folders of nokogiri and capybara-webkit inside of my rvm gemset?

Yes, you can remove the tmp directory.

If you don't have a new-enough version of libxml2 or libxslt nokogiri downloads and builds it for you to link against. Unfortunately RubyGems doesn't ask the nokogiri to clean up after itself at this time, so these build artifacts are left around.

rails 3, why I can't use command line at ubuntu?

I don't believe your rvm has been setup correctly. For sake of simplicity, let's start from the beginning following the instructions here:

http://beginrescueend.com/rvm/install/

Install in command line.

user$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )

Open your .bashrc folder in your home directory.

user$ vim .bashrc

Edit and add:

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function

Source your .bashrc file and close the terminal

user$ source ~/.bashrc
user$ exit

Reopen terminal and check if rvm is working.

user$ type rvm | head -1

If it returns

rvm is a function

We're good. Check if you have all of the prerequisites:

rvm requirements

Install as necessary. Pick your favorite flavor of ruby (it seems like it is 1.8.7, if so follow the exact command or replace it with your choice).

rvm install 1.8.7

When its done,

rvm use 1.8.7 --default

If this didn't work, please update post by running

which ruby

rails 3, why I can't use command line at ubuntu?

I don't believe your rvm has been setup correctly. For sake of simplicity, let's start from the beginning following the instructions here:

http://beginrescueend.com/rvm/install/

Install in command line.

user$ bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )

Open your .bashrc folder in your home directory.

user$ vim .bashrc

Edit and add:

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function

Source your .bashrc file and close the terminal

user$ source ~/.bashrc
user$ exit

Reopen terminal and check if rvm is working.

user$ type rvm | head -1

If it returns

rvm is a function

We're good. Check if you have all of the prerequisites:

rvm requirements

Install as necessary. Pick your favorite flavor of ruby (it seems like it is 1.8.7, if so follow the exact command or replace it with your choice).

rvm install 1.8.7

When its done,

rvm use 1.8.7 --default

If this didn't work, please update post by running

which ruby


Related Topics



Leave a reply



Submit