railsinstaller

Rails error on windows 10 (An error occurred while installing sqlite3 (1.4.1), and Bundler cannot continue)

老子叫甜甜 提交于 2021-01-27 17:39:46
问题 I have installed Rails version 5.1.3 on windows 10 via RailsInstaller and I tried to create a new application: C:\RubyOnRails>rails new Hello I'm getting an error installing sqlite3: sqlite3.h is missing. Install SQLite3 from http://www.sqlite.org/ first. Complete log: create create README.md create Rakefile create config.ru create .gitignore create Gemfile run git init from "." Initialized empty Git repository in C:/Amin/RubyOnRails/Hello/.git/ create app create app/assets/config/manifest.js

Terminal and Control panel shows different version of ruby

你说的曾经没有我的故事 提交于 2019-12-25 00:34:40
问题 I type ruby -v and this shows ruby version 2.1.5p273 but in my control panel, ruby version is 2.2.1-p85 I tried to change the version with rvm use ruby-2.2.1 in the terminal but it returns 'rvm' as not internal or external command. I am using railsinstaller btw 来源: https://stackoverflow.com/questions/29691448/terminal-and-control-panel-shows-different-version-of-ruby

uninitialized constant AppGenerator::Config Error

半腔热情 提交于 2019-12-12 03:35:37
问题 I actually upgraded from Ubuntu 13.10 to Ubuntu 16.04 My rails was working fine in the previous versions. I am removing rvm and reinstalling from scratch. Yet I get this error always when I try to invoke the server uninitialized constant AppGenerator::Config Did you mean? RbConfig Do I have to define the rails path? 回答1: Somehow (I think after installing Redmine) my enviroment collapsed. By following steps I removed and reinstalled Rails. Now the error had gone: gem uninstall rails gem