Rails on Fedora 20

Hi,

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
/usr/local/share/gems
/usr/local/share/ruby
(not rubygems)

and

/usr/share/gems
/usr/share/ruby
/usr/share/rubygems

I have
/usr/share/gems/gems/sqlite3-1.3.7
/usr/local/share/gems/gems/sqlite3-1.3.9
[root@localhost ~]# gem list | grep squ*
sqlite3 (1.3.9)

  1. 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)
    where
    [root@localhost new_app]# gem list | grep ugl*
    uglifier (2.5.3, 1.3.0)

your advise is welcome
thanks
mario