Skip to content
Advertisement

installing rails with gem , error loading command : install undefined method ‘invoke_with_build_args`

I’m try to install rails on Debian. when run this command

gem install rails

I gave this error:

JavaScript

even when I try this command: gem install I gave this error:

JavaScript

I used this link to build ruby from sources ruby 2.1.2 build instruction

what can I do to overcome this error?

Advertisement

Answer

For who compile from source, they must checked dependencies. I think you need to install this library :

JavaScript

Then you must recompiled ruby and everything worked.

Advertisement