简体   繁体   中英

Can't install Ruby on Rails Ubuntu

I'm trying to install Ruby on Rails on Ubuntu. was using a tutorial but it didn't work.

It may be out of date I don't know. I wish to use RVM and a Postgres db. Yarn seems to install correctly. yarn -v When I look at the version number I see yarn is installed. But when I try to run Ruby on Rails I get 'switch to trollop' instead of yarn. I haven't a clue what trollop is but I presume it's a version manager. Unfortunately it doesn't say how to switch to it. And does trollop work with Ruby on Rails Any help would be greatly appreciated. Thanks,

Could you please confirm your Ubuntu distro, you can check by typing in console: lsb_release -a

Also, check this guide on how to set up for environment on ubuntu correctly.

https://gorails.com/setup/ubuntu/20.04 ?

Here is a nice and step to step guide tutorial to install Ruby on Rails on ubuntu systems https://gorails.com/setup/ubuntu/21.04

Please make sure to choose your Ubuntu version before following the guide. Hopefully you should be able to install ROR if you follow it correctly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM