तो रेल रेल के साथ काम नहीं करता है। मैंने सोचा था कि मुद्दा थायोकू टूलबल्ट था, इसलिए मैंने इसे हटा दिया लेकिन उसने चाल नहीं की। मैंने फिर अपनी .zshrc फ़ाइल की जांच की और देखा कि इसमें रूबी का एक अलग संस्करण था कि वह पैथ में कॉल कर रहा था, इसलिए मैंने इसे अपडेट किया। हालांकि यह ऐसा नहीं किया। मैं विचारों से बाहर हूं। क्या कोई मदद कर सकता है, कृपया?रेल एस -> dyld: आलसी प्रतीक बाध्यकारी विफल: प्रतीक नहीं मिला: _rb_intern2
# (05/06/13 @ 10: 1:00) (व्यवस्थापक @ व्यवस्थापकों-मैकबुक प्रो): ~/डेस्कटॉप/खरोंच रेल रों dyld: आलसी प्रतीक बंधन में विफल रहा है: प्रतीक नहीं मिला: _rb_intern2 से संदर्भित /Users/admin/.rvm/gems/ruby-1.9.3-p392/gems/sqlite3-1.3.7/lib/sqlite3/sqlite3_native.bundle में अपेक्षित: फ्लैट नाम स्थान
dyld: Symbol not found: _rb_intern2
Referenced from: /Users/admin/.rvm/gems/ruby-1.9.3-p392/gems/sqlite3-1.3.7/lib/sqlite3/sqlite3_native.bundle
Expected in: flat namespace
[1] 69741 trace trap rails s
# (05/06/13 @ 10: 02AM) (व्यवस्थापक @ व्यवस्थापक-मैकबुक-प्रो): ~/डेस्कटॉप/स्क्रैच आरवीएम सूची डिफ़ॉल्ट
Default Ruby (for new shells)
ruby-1.9.3-p392 [ x86_64 ]
# (05/06/13 10 @: 11:00) (व्यवस्थापक @ व्यवस्थापकों-मैकबुक प्रो): ~/डेस्कटॉप/खरोंच माणिक -v
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]
# (05/06/13 @ 10: 11:00) (व्यवस्थापक @ व्यवस्थापकों-मैकबुक प्रो): ~/डेस्कटॉप/ रेल खरोंच -v
Rails 3.2.12
gemfile:
source 'https://rubygems.org'
gem 'rails', '3.2.12'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'sqlite3'
# gem 'pg'
gem "bootstrap-sass", ">= 2.3.0.0"
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the app server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'debugger'
.zshrc फ़ाइल:
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="junkfood"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# Set to this to use case-sensitive completion
# CASE_SENSITIVE="true"
# Comment this out to disable bi-weekly auto-update checks
# DISABLE_AUTO_UPDATE="true"
# Uncomment to change how many often would you like to wait before auto-updates occur? (in days)
# export UPDATE_ZSH_DAYS=13
# Uncomment following line if you want to disable colors in ls
# DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment following line if you want red dots to be displayed while waiting for completion
# COMPLETION_WAITING_DOTS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=//opt/local/bin:/opt/local/sbin://usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin:/opt/local/bin:/opt/local/sbin:/Users/admin/.rvm/gems/ruby-1.9.3-p392/bin:/Users/admin/.rvm/gems/[email protected]/bin:/Users/admin/.rvm/rubies/ruby-1.9.3-p392/bin:/Users/admin/.rvm/bin:/usr/local/mysql/bin:/Users/admin/.rvm/bin
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
आरवीएम रीलोड का प्रयास करें। फिर मणि अनइंस्टॉल करें sqlite3 और मणि स्थापित sqlite3 –
omfg !!! इसने काम कर दिया!!!! बहुत बहुत धन्यवाद शॉन। यदि संभव हो तो आप समझा सकते हैं कि यह क्यों काम करता है? –
आरवीएम रीलोड आपको 1/2 1.8.7/1.9.3 राज्य से बाहर निकाल दिया (फ्रेडरिक चेंग का जवाब देखें)। मुझे यकीन नहीं था कि क्या यह sqlite3 मणि स्थापना को दूषित कर दिया गया है, इसलिए मैंने इसे अभी इंस्टॉल किया था (यह आपको त्रुटियों को दे रहा था।) –