Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/templates/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ruby on rails git diff没有在Ubuntu14.04的meld中显示?_Ruby On Rails_Git_Ubuntu_Meld - Fatal编程技术网

Ruby on rails git diff没有在Ubuntu14.04的meld中显示?

Ruby on rails git diff没有在Ubuntu14.04的meld中显示?,ruby-on-rails,git,ubuntu,meld,Ruby On Rails,Git,Ubuntu,Meld,我在我的ubuntu14.04系统中安装了meld。按照这些命令操作。 在以下目录路径中: anurag@LIBSERV-PC:~$mkdir -p work/crap anurag@LIBSERV-PC:~$cd work/crap anurag@LIBSERV-PC:~/work/crap$git clone https://git.gnome.org/browse/meld anurag@LIBSERV-PC:~/work/crap$cd meld anurag@LIBSERV-PC:~/

我在我的
ubuntu14.04系统中安装了
meld
。按照这些命令操作。
在以下
目录路径中

anurag@LIBSERV-PC:~$mkdir -p work/crap
anurag@LIBSERV-PC:~$cd work/crap
anurag@LIBSERV-PC:~/work/crap$git clone https://git.gnome.org/browse/meld
anurag@LIBSERV-PC:~/work/crap$cd meld
anurag@LIBSERV-PC:~/work/crap/meld$sudo apt-get install intltool itstool gir1.2-gtksource-3.0 libxml2-utils
anurag@LIBSERV-PC:~/work/crap/meld$sudo python setup.py install
看来安装是正确的。我正在以下地点从事我的
rails项目

 anurag@LIBSERV-PC:~/vikas/template$ git diff lib/common_methods.rb
但是在我的系统中,
git diff
没有显示在
meld软件中

我只在
终端上看到差异。

正如我在“”中提到的,您必须将meld声明为difftool

git config --global  diff.tool meld
或使用