J
J
jFox2013-12-01 20:54:55
Ruby on Rails
jFox, 2013-12-01 20:54:55

A combination of Windows and Ubuntu (server) to develop a Rails application?

Available Windows 8 and virtual Ubuntu 12.04 (in VMware).
I shared the folder with local repositories so that it was available in the virtual Ubuntu at the address - "/mnt/hgfs/github/reponame" ( as indicated in the third method of this article )
However, after entering the rails s command, I get the following error:

[email protected]:/mnt/hgfs/github/rin$ rails s
      exists  
      exists  app/controllers
      exists  app/helpers
      exists  app/models
      exists  app/views/layouts
      exists  config/environments
      exists  config/initializers
      exists  config/locales
      exists  db
      exists  doc
      exists  lib
      exists  lib/tasks
      exists  log
      exists  public/images
      exists  public/javascripts
      exists  public/stylesheets
      exists  script/performance
      exists  test/fixtures
      exists  test/functional
      exists  test/integration
      exists  test/performance
      exists  test/unit
      exists  vendor
      exists  vendor/plugins
      exists  tmp/sessions
      exists  tmp/sockets
      exists  tmp/cache
      exists  tmp/pids
   identical  Rakefile
   identical  README
   identical  app/controllers/application_controller.rb
   identical  app/helpers/application_helper.rb
   identical  config/database.yml
   identical  config/routes.rb
   identical  config/locales/en.yml
   identical  db/seeds.rb
   identical  config/initializers/backtrace_silencers.rb
   identical  config/initializers/inflections.rb
   identical  config/initializers/mime_types.rb
   identical  config/initializers/new_rails_defaults.rb
overwrite config/initializers/session_store.rb? (enter "h" for help) [Ynaqdh] y
       force  config/initializers/session_store.rb
overwrite config/initializers/cookie_verification_secret.rb? (enter "h" for help) [Ynaqdh] y
       force  config/initializers/cookie_verification_secret.rb
   identical  config/environment.rb
   identical  config/boot.rb

   identical  config/environments/production.rb
   identical  config/environments/development.rb
   identical  config/environments/test.rb
   identical  script/about
   identical  script/console
   identical  script/dbconsole
   identical  script/destroy
   identical  script/generate
   identical  script/runner
   identical  script/server
   identical  script/plugin
   identical  script/performance/benchmarker
   identical  script/performance/profiler
   identical  test/test_helper.rb
   identical  test/performance/browsing_test.rb
   identical  public/404.html
   identical  public/422.html
   identical  public/500.html
   identical  public/index.html
   identical  public/favicon.ico
   identical  public/robots.txt
   identical  public/images/rails.png
   identical  public/javascripts/prototype.js
   identical  public/javascripts/effects.js
   identical  public/javascripts/dragdrop.js
   identical  public/javascripts/controls.js
   identical  public/javascripts/application.js
   identical  doc/README_FOR_APP
   identical  log/server.log
   identical  log/production.log
   identical  log/development.log
   identical  log/test.log
      create  vendor/rails
Operation not supported - /usr/lib/ruby/vendor_ruby/rails or s/vendor/rails

Gentlemen, do you have any idea what could be the problem?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
J
jFox, 2013-12-04
@jFoxReality

The problem turned out to be that I forgot to check the box in the terminal settings opposite the section: Run command as a Login Shell

M
Masterme, 2013-12-02
@Masterme

In Windows

A
Andrey Sidorov, 2013-12-02
@morr

strange console log, as if it rails sdid not start the server, but create a new project.
I can’t tell you how to solve the problem, but I can write how you can try to get around it by installing ruby ​​via rvm:
1. install rvm https://rvm.io/ \curl -L https://get.rvm.io | bash -s stable
2. install the desired version of ruby ​​via rvm (2.0 for example rvm install ruby-2.0.0-p247)
3. switch to installed version of ruby rvm use ruby-2.0.0-p247
​​4. install gem rail gem install rails
5. cd /mnt/hgfs/github/rin
6. bundle install
7 command rails servershould now work

J
jFox, 2013-12-03
@jFoxReality

Actually, that's how it was done.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question