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
Best Way to Handle Category/Subcategory Relationship Ruby on Rails
Why Will a Range Not Work When Descending
Ruby: Uri::Invalidurierror (Uri Must Be Ascii Only
Why Is Uri.Escape() Marked as Obsolete and Where Is This Regexp::Unsafe Constant
How to Update to Ruby 2.1.2 Using Rails 3.2.3
Ruby on Rails Add a Column After a Specific Column Name
Rails: How to Print a Decimal as a Percent
Fastercsv Error with Ruby 1.9.2
How to Know the Current Rake Task
Ruby Can Not Access Variable Outside the Method
How to Force a Gem's Dependencies in Gemfile
Keyword for Exclusive or in Ruby
Ruby Keyword Arguments of Method
How to Evaluate a Date Difference in Years, Months and Days (Ruby)
Is There an Equivalent of Array#Find_Index for the Last Index in Ruby
How to Make Ruby's Restclient Gem Respect Content_Type on Post
Finding the Ip Address of a Domain
What's the "Ruby Way" to Parse a String for a Single Key/Value