English 中文(简体)
为什么我能够把整个Ruby从乌班图虚拟机器复制到另一台铁路项目?
原标题:Why I can t copy a whole Ruby on Rails project from a Ubuntu virtual machine to another?

I have a VMware virtual machine with UBuntu 11.04, Apache and MySQL and Ruby on Rails 3.1. I have done a tutorial in it http://ruby.railstutorial.org/ruby-on-rails-tutorial-book and I wanted to copy the app to another machine which had the same setup, run "rake db:migrate" and then use the application.

I copied the folder to my host machine (Win 7), opened the second virtual machine and copied the app there. Well, I see that only some file got copied! Those files which were initially created when you run the "rails new app" command, but not those which were created when doing that tutorial.

我试图在虚拟机器中翻一番,复制机,再复制第二台虚拟机器。 当我不满意时,我与以上情况相同:只有最初的估算值才算在当时,而不是我后来补充的。

Why this happens?? I am using a user account, not root account. But I tried using a root account (thinking maybe it s some permission related stuff) and I have the same problem.

我怎么能够这样做,我怎么能够用机器向另一个机器复制一件(其中所有内容)而没有问题?

问题回答

暂无回答




相关问题
Add a changing icon to Ubuntu Panel

What would be the most simple way of adding and changing an icon in the Ubuntu (Gnome) Panel? I m looking for something as simple as shell scripting, but I m not restricted to that. Will write a ...

Configuring kernel

After create a new system call, how to update the kernel? I tried these lines, make-kpkg clean fakeroot make-kpkg -initrd -append-to-version=-custom kernel_image kernel_headers But Ubuntu asked me ...

save Exceptions to file in python

I want to save all following Exceptions in a file. The reason why I need this is because the IDLE for python 3.1.1 in Ubuntu raises an Exception at calltipps, but close to fast, that it isn t readble. ...

How can i monitor system statistics in kubuntu using Java?

i am doing a project related to configuration and memory analyzer for kubuntu. i want to display the system statistics information like CPU usage, RAM usage and proceses etc. graphically using an ...

How to pass "--external-locking" for mysqld in Ubuntu

I would like to start my mysql server with the --external-locking option. As mysqld is run by the /etc/init.d/mysql script ubuntu (karmic), I guess that s where I should set this "--external-locking" ...

"g++" and "c++" compiler

I just found on my Ubuntu, there are two different C++ compilers: /usr/bin/g++ and /usr/bin/c++. I am not familiar with the latter, but man c++ just jumps to the manpage of gcc. I wonder what is their ...

热门标签