Displaying 20 results from an estimated 6000 matches similar to: "Problems with Sqlite3 and apt-get"
2010 Dec 22
5
rvm, rails and sqlite
i need to use old version of ruby (1.8.7) and older version of rails
(2.1.0) so i decided to use rvm. however since i''m somewhat new to ruby
and rails i''m having issues. i created a gemset with rvm for my project,
installed rails 2.1.0 into it. after that i created a project and a
scaffolding for it. however i bumped onto an issue with sqlite3 (or
sqlite3-ruby). it seems to me
2011 May 01
2
More detailed Test::Unit error report
Hi,
I''m starting to use Test::Unit to create unit tests for my Rails
Applications/Plugins. I don''t have much experience in Ruby Unit Testing. The
problem is that the output report is very simple and it is very difficult to
discover where is the error. Test::Unit does not show the line number of the
error and the Stack Trace printed using the --trace option does not help
either.
2011 Apr 18
2
rubygems fail - require hpricot!
Hi guys,
I wanted to fetch some info from webpage and use it in my db. I read
hpricot is one way to do it. But the problem is I''m unable to use it
with my app. For some reason after successfully installing hpricot it
fails when I try to use it in the rails console.
I''ve been trying to fix this for the last four-five days. I''m stumped !
I tried re-installing everything
2011 May 20
3
"no such file to load -- rails/commands/runner (LoadError)"
Hi,
I am using ruby 1.9.2 and rails 3 for my application.
I have written a bash script which I want to run in cron.
If I directly run the bash file it runs. If I run it through the cron I
get the following error:-
"/usr/local/rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require'': no such file to load -- rails/commands/runner (LoadError)
from
2011 May 27
2
Can't install RedCloth gem, fails to compile
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi there,
I''m trying to install the RedCloth gem on my Arch Linux (64bit) system,
but hadn''t had success yet, RedCloth doesn''t seem to compile. Here''s the
installation output:
======================================
$ LANG=en_US.utf8 sudo gem install RedCloth
Building native extensions. This could take a while...
2011 Jun 11
15
after initialize blowing up---help
All,
Can anyone see what''s happening here?
================== migration =======================
class CreateGreetings < ActiveRecord::Migration
def self.up
create_table :greetings do |t|
t.string :greet
t.string :language
t.integer :count
t.timestamps
end
end
def self.down
drop_table :greetings
end
end
================== greeting.rb
2009 Jun 19
4
sqlite3....Ugghhh`
Hi all,
I have been reading and trying all the google links/forums for 2 nights
now on how to fix my issue with getting sqlite3 installed so I can use
rails. Im running SLED 11. plese help! thank you!
$ uname -a
Linux linux-7lbv 2.6.27.19-5-pae #1 SMP 2009-02-28 04:40:21 +0100 i686
i686 i386 GNU/Linux
$ gem install sqlite3-ruby
Building native extensions. This could take a while...
ERROR:
2013 May 12
15
Advice needed --- Best way to get mysql2 gem installed to interact with Mysql Database?
Hi Group,
I''ve got mysql database installed and the server running on a Mac Pro with latest mountain lion setup 10.8.3.
I''m able to use mysql tools like mysql, mysqladmin to converse with it. :}
I use RVM''s scripts to fetch gems.
I''ve visited RVM''s website but their advise to get "mysql gem loaded" does the same thing as below aborted
2010 Sep 08
6
Cannot start sqlite3
Hello everybody, i''m a long time watcher of these forums first time
poster.
I wanted to start getting into rails and have a play, I found a very
useful guide on the Internet detailing the install process for Ubuntu
10.04, after the install and setup process which seem to complete OK, i
went ahead and started my first project, however when I go to start the
server I get this message?
2012 Jan 27
3
How to test the model dependence ?
Good morning,
I''m new to rails and am having some basic questions in development. See
if anyone can help me with a test problem. I need to test if my model
"Procedure" is linked to the workflow. If not, the system must
acknowledge an error. Below is the code that is in the file test \ unit
\ procedure_test.rb.
require ''test_helper''
class ProcedureTest <
2012 Apr 04
7
new rails project error
Hi all,
I install Ruby1.9.2po0 and Rails3.2.3 on RedHat5
When I create a project "rails nwe chapter"
It show below error message:
*************************************************************
Installing sqlite3 (1.3.5) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.
/usr/local/ruby/bin/ruby extconf.rb
checking for
2012 Feb 26
6
can't get rails gem
Hi, I''m brand new to rails, and I have a mac 10.7 that I bought
today. I try the following:
joelrwesley$ sudo gem install rails
Password:
Building native extensions. This could take a while...
ERROR: Error installing rails:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/
ruby extconf.rb
mkmf.rb can''t find
2011 May 27
7
Rails 3.1.rc1 + gem coffee-script - WEBrick and Unicorn hangs.
Environment:
rvm
ruby 1.9.2-p180
rails 3.1.rc1
Conditions:
gem "coffee-script" # in Gemfile
at least one file with .js.coffee (even empty inside) in app/assets
Result:
WEBrick or Unicorn hangs. Only kill -9 <pid> helps.
P.S. What additional info should I provide?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
2012 Sep 26
2
Bundle Install ERROR: ERROR: Failed to build gem native extension.
Hello,
I''m trying to setup postgreSQL onto rails on linux and when I type
bundle install this is the error that i get. I guess its not finding
the files
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
extension.
/home/taka/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for bzlib.h... no
checking for BZ2_bzWriteOpen() in -lbz2... no
***
2013 Aug 29
3
ruby connect oracle problem
Hello folks.
I''m new in Ruby also ROR.
I installed oracle intant client and test it it works fine. Now I wanna
connect to oracle db. But its got some error. like this
*custom_require.rb:36:in `require'': cannot load such file -- oci8
(LoadError)*
my code is here.
require ''oci8''
oci =
2010 Jul 01
2
Rails3 rails console throws error
Hi,
I am trying Rails 3 and I am using RVM to manage the ruby versions.
Using RVM I had installed ruby versions 1.8.7, 1.9.1 and 1.9.2
When I do "rails console" I am getting the following error and console
isn''t starting: http://www.pastie.org/1026503
Since I dont require 1.9.1 any more to work with Rails 3, I un-installed
it using the following command:
rvm uninstall
2011 Jun 11
8
Help with railroad
Can anyone help me install railroad gem?
What I need is a simple class diagram of my rails website. Not necessarily
with railroad (if you know any other software, for mac, that works).
The website is http://railroad.rubyforge.org/
I couldn''t find any explanation on how to install it.
Thank you,
Rodrigo
--
You received this message because you are subscribed to the Google Groups
2012 Sep 18
13
pg gem error
gem install pg give the following error, please help how can i solve this
Building native extensions. This could take a while...
ERROR: Error installing pg:
ERROR: Failed to build gem native extension.
/home/saravanan/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /usr/bin/pg_config
checking for libpq-fe.h... yes
checking for
2011 Sep 19
27
Installing Rails Help!
Hi,
I followed a Tutorial on Nettuts to install Ruby with RVM and this went
well. I then tried to install Rails to follow the ''How to build a dropbox
live service'' from Netttus but appear to get errors can anybody help?.
Once I installed rails I created a new rails project using the command
(Rails new sharebox -d mysql)
This worked and created the folder structure.
I then
2011 Dec 14
30
How can I get RVM/Passenger/Apache2 to play nicely together
Hello all,
Can anyone point me to any solid documentation on how to set up a
production server using RVM, Passenger, and Apache2? I have been at
this for a week with absolutely no luck at all so I thought I would
post here to see if anyone has managed to get this to work and written
down the steps they used.
Right now with my current implementation, I am getting a 404 error
when I attempt to