Ruby on rails 计划';gem&x27;可以在以下Windows Bash软件包中找到
我已经在WindowsInsiderBuild(UbuntuBash)上通过RVM安装了Ruby。RVM安装成功,ruby也安装成功 我还安装了带有“gem安装bundler”的bundler。更新了一些宝石和东西。但是现在它在Ruby on rails 计划';gem&x27;可以在以下Windows Bash软件包中找到,ruby-on-rails,windows-10,Ruby On Rails,Windows 10,我已经在WindowsInsiderBuild(UbuntuBash)上通过RVM安装了Ruby。RVM安装成功,ruby也安装成功 我还安装了带有“gem安装bundler”的bundler。更新了一些宝石和东西。但是现在它在ruby-v cooldudeabhi@ACERASPIRE:~$ ruby -v The program 'ruby' can be found in the following packages: * ruby * ruby1.8 Try: sudo apt-ge
ruby-v
cooldudeabhi@ACERASPIRE:~$ ruby -v
The program 'ruby' can be found in the following packages:
* ruby
* ruby1.8
Try: sudo apt-get install <selected package>
cooldudeabhi@ACERASPIRE:~$ gem
The program 'gem' can be found in the following packages:
* ruby
* rubygems
Try: sudo apt-get install <selected package>
cooldudeabhi@ACERASPIRE:~$
cooldudeabhi@ACERASPIRE:~$ruby-v
程序“ruby”可在以下软件包中找到:
*红宝石
*卢比1.8
尝试:sudo-apt-get-install
cooldudeabhi@ACERASPIRE:~$gem
程序“gem”可在以下软件包中找到:
*红宝石
*rubygems
尝试:sudo-apt-get-install
cooldudeabhi@ACERASPIRE:~$
我怀疑这是一个路径问题,但我不确定它是否真的是?如果是路径问题,我不知道在bashrc文件中设置什么,请告诉我。谢谢
我在stackoverflow上也发现了类似的情况,但在Windows上没有帮助
另外,
/usr/local/bin
为空,这很奇怪将此行添加到您的配置文件设置(.bashrc或.bash\u profile)
答复引自
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*