首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Fedena安装在带有ruby和rails的窗口中

Fedena安装在带有ruby和rails的窗口中
EN

Stack Overflow用户
提问于 2017-02-01 05:07:46
回答 1查看 1K关注 0票数 1

我正在尝试将Fedena打开的源代码安装到我的窗口中,遵循fedena和wiki中的所有步骤,但是我仍然会出错--请帮助我,这里是我的命令行,我正在跟踪fedena http://projectfedena.org/install的这个链接,在这些"bundle install -local“中出现错误--这里是命令窗口。

代码语言:javascript
复制
    C:\Users\Devil>cd c:\Fedena

c:\Fedena>bundle install --local
Some gems seem to be missing from your vendor/cache directory.
You have requested:
  mysql = 2.8.1

The bundle currently has mysql locked at 2.8.1.
Try running `bundle update mysql`

If you are updating multiple gems in your Gemfile at once,
try passing them all to `bundle update`

c:\Fedena>bundle update mysql
Fetching gem metadata from http://rubygems.org/...........
Fetching version metadata from http://rubygems.org/...
Fetching dependency metadata from http://rubygems.org/..
Resolving dependencies...
Using rake 0.8.7
Using activesupport 2.3.5
Using rack 1.0.1
Using cgi_multipart_eof_fix 2.5.0
Using daemons 1.2.4
Using declarative_authorization 0.5.1
Installing fastthread 1.0.7 with native extensions
Using fattr 2.2.1
Using gem_plugin 0.2.3
Using i18n 0.4.2
Installing mysql 2.8.1 with native extensions
Installing win32-open3 0.3.2 with native extensions
Using bundler 1.14.3
Using activerecord 2.3.5
Using activeresource 2.3.5
Using actionpack 2.3.5
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

current directory:
C:/Ruby/lib/ruby/gems/2.3.0/gems/fastthread-1.0.7/ext/fastthread
C:/Ruby/bin/ruby.exe -r ./siteconf20170201-7960-vtf9xv.rb extconf.rb
extconf.rb:13:in `block in <main>': uninitialized constant Config (NameError)
Did you mean?  RbConfig
        from extconf.rb:12:in `open'
        from extconf.rb:12:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in
C:/Ruby/lib/ruby/gems/2.3.0/gems/fastthread-1.0.7 for inspection.
Results logged to
C:/Ruby/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/fastthread-1.0.7/gem_make.out

An error occurred while installing fastthread (1.0.7), and Bundler cannot
continue.
Make sure that `gem install fastthread -v '1.0.7'` succeeds before bundling.

c:\Fedena>gem install fastthread -v '1.0.7'
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while...
ERROR:  Error installing fastthread:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby/lib/ruby/gems/2.3.0/gems/fastthread-1.0.7/ext/fastthread
C:/Ruby/bin/ruby.exe -r ./siteconf20170201-3752-fbqr51.rb extconf.rb
extconf.rb:13:in `block in <main>': uninitialized constant Config (NameError)
Did you mean?  RbConfig
        from extconf.rb:12:in `open'
        from extconf.rb:12:in `<main>'

extconf failed, exit code 1

Gem files will remain installed in C:/Ruby/lib/ruby/gems/2.3.0/gems/fastthread-1.0.7 for inspection.
Results logged to C:/Ruby/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/fastthread-1.0.7/gem_make.out

c:\Fedena>
EN

回答 1

Stack Overflow用户

发布于 2017-10-16 00:45:48

我刚刚成功地完成了我的安装。以下是我遵循的步骤:

代码语言:javascript
复制
sudo gem install bundler

bundle install --local

gem install rails -v 2.3.5
sudo apt-get install libmysqlclient-dev mysql-server
gem install rake -v 0.8.7
gem install declarative_authorization -v 0.5.1
gem install i18n -v 0.4.2
gem install mysql
gem install rush -v 0.6.8
gem update --system 1.3.7

rake db:create
rake db:migrate

rake fedena:plugins:install_all

使用脚本/服务器启动

确保您的红宝石版本为1.8.7,rake为0.8.7

若要安装ruby 1.8.7并设置为默认值,请执行以下操作:

代码语言:javascript
复制
rvm install 1.8.7
rvm use 1.8.7 --default
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/41972272

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档