Forum: Ruby on Rails Rails on Fedora 20

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2102d65e8a2ece1029b279b74cf81b50?d=identicon&s=25 mario chiari (Guest)
on 2014-08-17 12:36
(Received via mailing list)
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

3.
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)


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


your advise is welcome
thanks
mario
This topic is locked and can not be replied to.