Answer the question
In order to leave comments, you need to log in
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
Answer the question
In order to leave comments, you need to log in
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
strange console log, as if it rails s
did 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 server
should now work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question