Rails on Fedora 20


my first post to this ml.
I am trying to install Rails on a Fedora 20 machine.
I think I did, and I see the welcome page at localhost:3000.
However, I have a couple of issues:

1- Anytime I insert a line command, I get the following:

Invalid gemspec in
[/usr/share/gems/specifications/sqlite3-1.3.7.gemspec]: undefined local
variable or method `s' for Gem::Specification:Class

I am not sure how to fix it.

2- I just realized that I have folders
(not rubygems)



I have
[root@localhost ~]# gem list | grep squ*
sqlite3 (1.3.9)

4. If I try to gem clean, i get:
[root@localhost new_app]# gem clean
Invalid gemspec in
Cleaning up installed gems...
Attempting to uninstall uglifier-1.3.0
Unable to uninstall uglifier-1.3.0:
  Gem::InstallError: uglifier is not installed in GEM_HOME, try:
  gem uninstall -i /usr/share/gems uglifier
(..... for a number of packages)
[root@localhost new_app]# gem list | grep ugl*
uglifier (2.5.3, 1.3.0)

your advise is welcome