So... I've been trying to start developing Rails, and I'm having a horrible time setting up my environment.
所以...我一直在努力开始开发Rails,而且我在设置环境时遇到了可怕的困难。
Installed Ubuntu 12.10 in a VM. Installed RVM. Installed Ruby 1.9.3. Installed Rails. Then Rails console didn't work because I didn't have readline, and I had to start futzing with rvm commands from here and from a Stack Overflow thread, only to get numerous incomprehensible errors.
在VM中安装Ubuntu 12.10。已安装的RVM。安装Ruby 1.9.3。已安装的Rails。然后Rails控制台没有工作,因为我没有readline,我不得不从这里和Stack Overflow线程开始使用rvm命令,只是为了得到许多难以理解的错误。
And that's just me trying to get off the ground and start running. Please oh please, isn't there a ready VirtualBox VM file with a machine preconfigured for development work?
而这只是我试图开始运行并开始运行。请哦,是不是有一个准备好的VirtualBox VM文件,其中包含一台预先配置用于开发工作的机器?
2 个解决方案
#1
7
If you would just like one built for you go to: https://railsbox.io
如果您只想为自己构建一个,请访问:https://railsbox.io
Tutorial will set you you with vagrant/rails much like the other answers are talking about. I haven't used it but it looks solid: https://gorails.com/guides/using-vagrant-for-rails-development
教程将为你设置vagrant / rails,就像其他答案所说的那样。我没有使用它,但它看起来很稳固:https://gorails.com/guides/using-vagrant-for-rails-development
You could also simply use a remote vm that is setup and available anywhere:
您也可以简单地使用在任何地方设置和使用的远程虚拟机:
https://c9.io/
There are other similar options out there.
还有其他类似的选择。
I have used both of them and they function excellently for this purpose, they also troubleshoot well on google because you have multiple people using the same environment. If you are new to Rails/Ruby and are unfamiliar with using a nix environment I highly suggest this route. You will also be able to access them more or less anywhere through a browser.
我已经使用了它们,并且它们的功能非常出色,因为有多个人使用相同的环境,它们也可以在谷歌上很好地解决问题。如果您是Rails / Ruby的新手并且不熟悉使用nix环境,我强烈推荐这条路线。您还可以通过浏览器在任何地方或多或少地访问它们。
I know it is rather an old thread but since it came up so easily in a search and the answer wasn't entirely satisfactory when I had found it previously I thought I would broaden the list of options.
我知道这是一个旧帖子,但是因为它在搜索中很容易找到,而且当我之前发现它时答案并不完全令人满意,我想我会扩大选项列表。
#2
5
Found this: https://github.com/rails/rails-dev-box
发现这个:https://github.com/rails/rails-dev-box
Hoping it's going to help; consistent with Branden's comment above.
希望它会有所帮助;与上面的Branden的评论一致。
#1
7
If you would just like one built for you go to: https://railsbox.io
如果您只想为自己构建一个,请访问:https://railsbox.io
Tutorial will set you you with vagrant/rails much like the other answers are talking about. I haven't used it but it looks solid: https://gorails.com/guides/using-vagrant-for-rails-development
教程将为你设置vagrant / rails,就像其他答案所说的那样。我没有使用它,但它看起来很稳固:https://gorails.com/guides/using-vagrant-for-rails-development
You could also simply use a remote vm that is setup and available anywhere:
您也可以简单地使用在任何地方设置和使用的远程虚拟机:
https://c9.io/
There are other similar options out there.
还有其他类似的选择。
I have used both of them and they function excellently for this purpose, they also troubleshoot well on google because you have multiple people using the same environment. If you are new to Rails/Ruby and are unfamiliar with using a nix environment I highly suggest this route. You will also be able to access them more or less anywhere through a browser.
我已经使用了它们,并且它们的功能非常出色,因为有多个人使用相同的环境,它们也可以在谷歌上很好地解决问题。如果您是Rails / Ruby的新手并且不熟悉使用nix环境,我强烈推荐这条路线。您还可以通过浏览器在任何地方或多或少地访问它们。
I know it is rather an old thread but since it came up so easily in a search and the answer wasn't entirely satisfactory when I had found it previously I thought I would broaden the list of options.
我知道这是一个旧帖子,但是因为它在搜索中很容易找到,而且当我之前发现它时答案并不完全令人满意,我想我会扩大选项列表。
#2
5
Found this: https://github.com/rails/rails-dev-box
发现这个:https://github.com/rails/rails-dev-box
Hoping it's going to help; consistent with Branden's comment above.
希望它会有所帮助;与上面的Branden的评论一致。