相关疑难解决方法(0)

HEROKU - 无法运行git push heroku master

我运行命令

heroku create --stack cedar
git push heroku master
Run Code Online (Sandbox Code Playgroud)

但它给了我一个错误:

> Counting objects: 144, done. Delta compression using up to 2 threads.
> Compressing objects: 100% (128/128), done. Writing objects: 100%
> (144/144), 50.16 KiB, done. Total 144 (delta 23), reused 0 (delta 0)
> 
> -----> Heroku receiving push
> -----> Ruby/Rails app detected
> -----> Installing dependencies using Bundler version 1.1.rc
>        Running: bundle install --without development:test --path vendor/bundle --deployment
>        Fetching gem metadata from http://rubygems.org/.......
>        Installing …
Run Code Online (Sandbox Code Playgroud)

ruby sqlite ruby-on-rails heroku

27
推荐指数
3
解决办法
2万
查看次数

sqlite3-ruby gem在ubuntu上找不到sqlite3.h

试图在ubuntu上获得Rails,我在安装sqlite3-ruby时遇到了麻烦 - 显然无法找到sqlite3.h.我可以找到错误的所有引用都表明问题是:未安装sqlite3头文件,或者make无法找到它们.在我看来,我已经解决了这两个问题,我仍然看到同样的问题.

不知道这里发生了什么.版本不匹配,也许?这是在ubuntu 10.04.1上使用ruby 1.8.7,sqlite 3.6.22-1,gem 1.3.5和sqlite3-ruby 1.3.1.

david@li88-188:~$ sudo apt-get install sqlite3
Run Code Online (Sandbox Code Playgroud)

[...成功安装...]

Setting up sqlite3 (3.6.22-1) ...
david@li88-188:~$ sudo apt-get install libsqlite3-dev
Run Code Online (Sandbox Code Playgroud)

[...成功安装...]

Setting up libsqlite3-dev (3.6.22-1) ...
david@li88-188:~$ sudo gem install sqlite3-ruby
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3-ruby:
 ERROR: Failed to build gem native extension.

/usr/bin/ruby1.8 extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal' or 'yum install sqlite3-devel'
*** extconf.rb failed ***
Could …
Run Code Online (Sandbox Code Playgroud)

ruby sqlite ubuntu sqlite3-ruby

10
推荐指数
2
解决办法
1万
查看次数

如何在使用RVM时为Ruby on Rails安装SQlite3

我是编程和Ruby on Rails的新手.设置我的开发环境一直很糟糕.我目前的问题是安装Sqlite 3.

当我做

$ bundle install
Run Code Online (Sandbox Code Playgroud)

我明白了

 Fetching source index for http://rubygems.org/
Using rake (0.8.7) 
Using abstract (1.0.0) 
Using activesupport (3.0.1) 
Using builder (2.1.2) 
Using i18n (0.4.2) 
Using activemodel (3.0.1) 
Using erubis (2.6.6) 
Using rack (1.2.1) 
Using rack-mount (0.6.13) 
Using rack-test (0.5.7) 
Using tzinfo (0.3.24) 
Using actionpack (3.0.1) 
Using mime-types (1.16) 
Using polyglot (0.3.1) 
Using treetop (1.4.9) 
Using mail (2.2.15) 
Using actionmailer (3.0.1) 
Using arel (1.0.1) 
Using activerecord (3.0.1) 
Using activeresource (3.0.1) 
Using bundler (1.0.10) 
Using thor (0.14.6) …
Run Code Online (Sandbox Code Playgroud)

ruby sqlite ubuntu-10.10 ruby-on-rails-3

9
推荐指数
1
解决办法
7918
查看次数

我无法安装sqlite3 gem

可能重复:
Ubuntu上的sqlite3-ruby安装错误

嘿家伙我使用apt-get在运行Ubuntu 10的VPS中安装sqlite3,我可以毫无问题地运行sqlite3.但是当我尝试使用gem install sqlite3时,我收到了这个错误:

root@makserver:/# gem install sqlite3
Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3:
    ERROR: Failed to build gem native extension.

        /usr/local/bin/ruby extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Try 'port install sqlite3 +universal'
or 'yum install sqlite3-devel' and check your shared library search path (the
location where your sqlite3 shared library is located).
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries …
Run Code Online (Sandbox Code Playgroud)

ruby sqlite ubuntu

7
推荐指数
1
解决办法
6173
查看次数